Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-15513

Usage of static fields from java.lang classes as EL expressions in JSPs doesn't work for servlet 4.0


    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.2.0.GA
    • 7.2.0.Beta
    • Undertow
    • None

      This seems to be back but this time with Servlet 4.0 only as 3.1 seems to work just fine. Current test is already in Wildfly testsuite but it does not cover Servlet 4.0.

      Java EE7 (which supports EL 3.0 spec) allows JSPs to use EL expressions like:

            foo: --- ${Boolean.TRUE} ---<br>
            bar: --- ${Integer.MAX_VALUE} ---<br>

      However, the




      in the above example aren't evaluated correctly and instead a blank string is rendered for them.

      More details in the linked forum thread https://developer.jboss.org/thread/271825

            jstourac@redhat.com Jan Stourac
            jstourac@redhat.com Jan Stourac
            Jan Stourac Jan Stourac
            Jan Stourac Jan Stourac
            0 Vote for this issue
            3 Start watching this issue