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

http://issues.apache.org/bugzilla/show_bug.cgi?id=40012

           Summary: Legacy EL Support not resolving variables correctly
           Product: Tomcat 6
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


Given the following page:
<% pageContext.setAttribute("t", "foo"); %>
${t}
<%
out.print(
    pageContext.getExpressionEvaluator().evaluate(
        "${t}",
        String.class,
        pageContext.getVariableResolver(),
        null));
%>

You will notice that the ${t} prints out fine when in the JSP but does not
resolve using the scriplet and prints nothing.

For a sanity check, I tested this and it worked in glassfish to ensure I wasn't
doing anything odd.

I'm trying to find root cause; but haven't found it yet, so I'm logging it in
case anyone else has the itch to scratch.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to