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/11/06 19:03:51 UTC

DO NOT REPLY [Bug 14304] New: - RequestDispatcher.forward() problem in a Filter

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

RequestDispatcher.forward() problem in a Filter

           Summary: RequestDispatcher.forward() problem in a Filter
           Product: Tomcat 4
           Version: 4.1.14
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: rhoegg@isisnetworks.net


In the following circumstances:

1. a Filter is assigned to a URL in a webapp
2. that Filter calls
request.getRequestDispatcher(OTHER_RESOURCE).forward(request, response)
3. OTHER_RESOURCE is larger than the resource at the URL

the OTHER_RESOURCE is truncated.

Expected Behavior: OTHER_RESOURCE is returned to the HTTP client
Actual Behavior: OTHER_RESOURCE is returned truncated to the HTTP client.

I haven't confirmed this yet, but I think OTHER_RESOURCE is being truncated to
the Content-Length of the requested resource.

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