Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-6939

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

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              jperkins-rhn James Perkins
              jaikiran Jaikiran Pai (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: