JSPG0122E: Unable to parse EL function in Websphere 7

喜欢而已 提交于 2019-12-06 10:38:19
Loc

Problem

Websphere 7 uses JSP 2.1 (Java EE5). JSP 2.1 does NOT support method calls within EL expressions so ${destForm.flightTable.get(loop.index)} is invalid because of the call to get() within the EL expression.

Solution:

To solve your problem, your EL expression should be ${destForm.flightTable[loop.index].tripId} assuming that destForm.flightTable is a List/Array which can be accessed by index.

Note: JSP 2.2+ (Java EE6+) allows method calls in EL expression like you did.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!