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 45837] New: page implicit object typed as Object instead of HttpJspPage
Date Thu, 18 Sep 2008 20:59:43 GMT
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


Mime
View raw message