Bug 35169 - pageContext not available within tag
Summary: pageContext not available within tag
Status: RESOLVED INVALID
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Servlet & JSP API (show other bugs)
Version: 5.5.9
Hardware: Other other
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-02 04:44 UTC by tony kerz
Modified: 2005-06-02 04:43 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tony kerz 2005-06-02 04:44:54 UTC
generated java:

  public void doTag() throws JspException, java.io.IOException {
    PageContext _jspx_page_context = (PageContext)jspContext;
...
}

but shouldn't the local variable be called "pageContext" instead of
"_jspx_page_context"?

my work around is to refer to "jspContext", but is that what i should be doing?

thanks,
tony.
Comment 1 Tim Funk 2005-06-02 12:43:03 UTC
When using tag files, the implicit variable to use is jspContext, not
pageContext.  See the JSP spec (Table JSP.8-5 Implicit Objects Available in Tag
Files) for more details. (or tomcat-user)