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/09/18 22:59:43 UTC
DO NOT REPLY [Bug 45837] New: page implicit object typed as Object
instead of HttpJspPage
https://issues.apache.org/bugzilla/show_bug.cgi?id=45837
Summary: page implicit object typed as Object instead of
HttpJspPage
Product: Tomcat 6
Version: 6.0.18
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: loosegravel@gmail.com
In a JSP page, the page object (see below) in the generated servlet code is
typed as Object instead of HttpJspPage, which makes it difficult to call
meaningful methods on it.
PageContext pageContext = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
The workaround is to use "this" instead.
--
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 45837] page implicit object typed as Object
instead of HttpJspPage
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45837
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Mark Thomas <ma...@apache.org> 2008-09-19 04:34:32 PST ---
See Table JSP.1-6 of the JSP 2.1 spec.
--
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