日期:2014-05-16  浏览次数:20325 次

javax.servlet.jsp.el.ELException:
javax.servlet.jsp.JspException: TableTag Problem: javax.servlet.jsp.el.ELException: The "." operator was supplied with an index value of type "java.lang.String" to be applied to a List or array, but that value cannot be converted to an integer.
问题的解决:
在HQL多表查询时,查询语句返回的结果集中,可能是多个对象,所以在jsp页面中运用el语句时要指定你要引用的确切的对象的属性,或是在HQL中获取时的就是指定对象。