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 2001/12/14 14:19:34 UTC

DO NOT REPLY [Bug 5432] New: - request.getRequestDispatcher("nothing")

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

request.getRequestDispatcher("nothing")

           Summary: request.getRequestDispatcher("nothing")
           Product: Tomcat 4
           Version: Unknown
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: xsilly@java.at


request.getRequestDispatcher( "..." ) does not return null (as said in the API 
documentation), when it does not know the resource.
E.g.
request.getRequestDispatcher( "aaaaa" ).forward( request, response ) 
forwards an error page, saying that aaaaa does not exist.
In former versions of servlet engines, getRequestDispatcher did return null in 
such a case - and this is also what is said in the documentation.

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