1、According to TLD or attribute directive in tag file, attribute [items] does not accept any expressions
解决方法:
加上:
<%@ page isELIgnored="false" %>
2、org.apache.jasper.JasperException:
如果你在类中的属性名称是大写的,那在EL表达式中属性值要小写。
首先检测你所写的属性值是否与你此时在EL表达式中的名称一致,如果你的属性名称为首字母大写,例如我定义一个变量private int Id;但是在写EL表达式的时候必须写为${XXX.id};一定不能写大写;还有,必须要有属性的set()和get()方法。EL实际使用的是反射机制,它会在电泳表达式时自己在前面加上"get" + 属性名称的首字母大写。