tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46093] New: Translation of <jsp:getproperty> doesn't mention the scope
Date Sun, 26 Oct 2008 06:09:27 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46093

           Summary: Translation of <jsp:getproperty> doesn't mention the
                    scope
           Product: Tomcat 5
           Version: 5.5.27
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Servlet & JSP API
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: asela38@gmail.com


<jsp:getProperty name="person" property="name"/>
to this command translated jsp_servlet shows this code
org.apache.jasper.runtime.JspRuntimeLibrary.toString((((foo.Person)_jspx_page_context.findAttribute("person")).getName()))

what it does is simply finding the attribute from all scopes

pageContext -> request -> session -> application

this person is in request scope

but if i put a another person in pageContext scope it takes that person rather
than the person in the request scope

so the find method must mention the scope


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

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


Mime
View raw message