首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

javax.servlet.jsp.el.ELException

2012-09-06 
javax.servlet.jsp.el.ELException:javax.servlet.jsp.JspException: TableTag Problem: javax.servlet.js

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中获取时的就是指定对象。

热点排行