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 2003/05/08 21:39:17 UTC

DO NOT REPLY [Bug 19775] New: - Filter that delegates JSP worked in ver 4.1.12 and not in 4.1.18

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19775

Filter that delegates JSP worked in ver 4.1.12 and not in 4.1.18

           Summary: Filter that delegates JSP worked in ver 4.1.12 and not
                    in 4.1.18
           Product: Tomcat 4
           Version: 4.1.18
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: paulosimao@ieg.com.br


A Filter developed to work as decorator was wotking in version 4.1.12. I builds 
a previous and post content in a page, delegating via RequestDispatcher the 
processing of pre and pos components (JSP pages) and then stores it in a 
buffer. Later it forwards to the main page, to complete de request, and append 
pre before te page contents and pos after. It all is buffered in server before 
sending to client. To complete this task I implemented an HttpServletResponse 
that "fools" the container, that wrapps the original one and buffers it's 
contents. It worked really fine in 4.1.2, but in 4.1.18 it doesn't work, a 
small part of the final content is sent to the client, what makes think that it 
has some thing related to the buffering sub-system in Tomcat.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org