[url]http://wiki.opensymphony.com/display/WW/Some+container+complains+about+OGNL+expression+while+parsing+my+jsp+page[/url]
web.xml中加入:
[code]<jsp-config>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<el-ignored>true</el-ignored>
</jsp-property-group>
</jsp-config>[/code]
web.xml中加入:
[code]<jsp-config>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<el-ignored>true</el-ignored>
</jsp-property-group>
</jsp-config>[/code]
禁用EL表达式
本文介绍了一种在web.xml配置文件中禁用EL表达式的方法,以解决某些容器解析JSP页面时产生的问题。通过设置<jsp-config>标签内的<el-ignored>属性为true,可以避免因EL表达式引起的错误。
2298

被折叠的 条评论
为什么被折叠?



