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: [email protected]
ReportedBy: [EMAIL PROTECTED]
<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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]