Child pages
  • Why do I get a javax.el.ELException when using OGNL with JSP2.1?
Skip to end of metadata
Go to start of metadata

With JSP2.1 the "#" character is used in the JSP EL. OGNL does use this escape character as well.
To get around this there is the possibility to disable JSP EL in web.xml:

<jsp-config>
  <jsp-property-group>
    <url-pattern>*.jspx</url-pattern>
    <el-ignored>true</el-ignored>
  </jsp-property-group>
</jsp-config>    

related threads:

  • No labels