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 2002/05/30 11:35:38 UTC

DO NOT REPLY [Bug 9516] New: - Filter.doFilter(): program flow does not survive chain.doFilter() when using RequestDispatcher.include() before

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=9516>.
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=9516

Filter.doFilter(): program flow does not survive chain.doFilter() when using RequestDispatcher.include() before

           Summary: Filter.doFilter(): program flow does not survive
                    chain.doFilter() when using RequestDispatcher.include()
                    before
           Product: Tomcat 4
           Version: 4.0.4 Beta 3
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: andreas@schildba.ch


while investigating new concepts about a web portal framework making use of 
filters, i stumbled across this... feature?

here is my implementation of doFilter():

context.getRequestDispatcher("/layout.jsp").include(request, response);
// program flow _does_ pass this point
chain.doFilter(request, response);
// program flow does _not_ reach this point

when i comment out the RequestDispatcher.include() statement, program flow does 
reach the end of doFilter(). is this behaviour spec conformant? i doubt it.

it happens not only with 4.04b3 but also 4.03.
i will add a web app very shortly that demonstrates the described behaviour.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>