[jboss-jira] [JBoss JIRA] (WFLY-11086) Usage of static fields from java.lang classes as EL expressions in JSPs doesn't work when requested more than once

Adam Krajcik (JIRA) issues at jboss.org
Thu Sep 27 08:44:01 EDT 2018


    [ https://issues.jboss.org/browse/WFLY-11086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13639433#comment-13639433 ] 

Adam Krajcik commented on WFLY-11086:
-------------------------------------

Commit with updated test for Wildfly TS can be found here: https://github.com/AdamKrajcik/wildfly/commit/2f459d1e54ae000c9f1ee550a4cfec2e8b876b79

> Usage of static fields from java.lang classes as EL expressions in JSPs doesn't work when requested more than once
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-11086
>                 URL: https://issues.jboss.org/browse/WFLY-11086
>             Project: WildFly
>          Issue Type: Bug
>          Components: Web (Undertow)
>    Affects Versions: 14.0.0.Final
>            Reporter: Adam Krajcik
>            Assignee: Stuart Douglas
>         Attachments: jsp-expression-lang.war
>
>
> Java EE7 (which supports EL 3.0 spec) allows JSPs to use EL expressions like:
> {code}
> <html>
>    <body>
>       foo: --- ${Boolean.TRUE} ---<br>
>       bar: --- ${Integer.MAX_VALUE} ---<br>
>    </body>
> </html>
> {code}
> However, the
> {code}
> ${Boolean.TRUE}
> {code}
> and
> {code}
> ${Integer.MAX_VALUE}
> {code}
> in the above example aren't evaluated correctly if request is send more than once, and instead a blank string is rendered for them. The [^jsp-expression-lang.war] used in Steps to reproduce works correctly in 7.2.0.CD13.
> More details in the linked forum thread https://developer.jboss.org/thread/271825.
> The existing tests([JspELTestCase|https://github.com/wildfly/wildfly/blob/master/testsuite/integration/basic/src/test/java/org/wildfly/test/integration/jsp/JspELTestCase.java]) doesn't cover the situation when request is sent more than once.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list