You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/02/18 21:50:24 UTC

DO NOT REPLY [Bug 27048] New: - EL Named Variables lookup fails

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27048>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27048

EL Named Variables lookup fails

           Summary: EL Named Variables lookup fails
           Product: Tomcat 5
           Version: 5.0.18
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: juergen@jwi.de


According to jsp-2.0-fr-spec.pdf, page 1-75, JSP.2.5 Named Variables

when you have 

<% request.setAttribute("product", "MyProduct"); %>
product is <%= pageContext.findAttribute("product") %>
product is ${product}

in a jsp, you should get an output of

product is MyProduct product is MyProduct 

but with Tomcat/5.0.18 you get

product is MyProduct product is ${product}

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org