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中获取时的就是指定对象。
最后
以上就是朴素过客最近收集整理的关于javax.servlet.jsp.el.ELException: 的全部内容,更多相关javax.servlet.jsp.el.ELException:内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复