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

(7.0.z) Usage of static fields from java.lang classes as EL expressions in JSPs doesn't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.6.CR1, 7.0.6.GA
    • None
    • Undertow
    • None
    • EAP 7.0.6

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

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

      However, the

      ${Boolean.TRUE}

      and

      ${Integer.MAX_VALUE}

      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

              jperkins-rhn James Perkins
              rhn-support-bmaxwell Brad Maxwell
              Jan Stourac Jan Stourac
              Jan Stourac Jan Stourac
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: