DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31009>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31009

io:http tag caches JSPWriter

           Summary: io:http tag caches JSPWriter
           Product: Taglibs
           Version: nightly
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: IO Taglib
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When using the io:http tag with Tomcat 5.x a bug in the tag is exposed that 
was not exposed under tomcat 4.x.  The file URLTag.java (parent of 
HttpTag.java) caches the JspWriter between calls to endTag() and startTag().  
In Tomcat 5.x it appears that the Tag instances are being pooled and reused 
without a call to reset() before the reuse.  In this cas the Tag may be reused 
by a different page, or smae page in a different session.  When this happens 
the tag may write to a cached instance of the JspWriter instead of the current 
JspWriter causing blank output, or even output to the wrong user's browser.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to