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 2008/10/26 07:09:27 UTC
DO NOT REPLY [Bug 46093] New: Translation of
doesn't mention the scope
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
DO NOT REPLY [Bug 46093] Translation of doesn't
mention the scope
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46093
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Mark Thomas <ma...@apache.org> 2008-10-26 05:15:41 PST ---
The current behaviour is as per the JSP 2.1 specification.
--
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