tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6267] New: - RequestDispatcher breaks on URLs with anchors
Date Wed, 06 Feb 2002 13:35:49 GMT
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=6267>.
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=6267

RequestDispatcher breaks on URLs with anchors

           Summary: RequestDispatcher breaks on URLs with anchors
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: mitchell.morris@cingular.com


ServletRequest.getRequestDispatcher(URL).forward() forwards to an invalid 
location if the URL supplied includes an anchor name. That is,
    request.getRequestDispatcher("/sample.jsp").forward(request, response);
works correctly, but:
    request.getRequestDispatcher("/sample.jsp#top").forward(request, response);
breaks with a "resource not available" error from Tomcat 4.0.1 final.

I will attempt to attach a WAR file that contains a servlet and JSP pages that 
reproduce the issue.

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


Mime
View raw message