marcsaeg 01/01/04 13:26:18 Modified: src/share/org/apache/tomcat/request Tag: tomcat_32 SimpleMapper1.java Log: contextMap() now returns 404 if a context can't be found for the request URI. This will cause an error page to be sent to the client browser. Revision Changes Path No revision No revision 1.15.2.6 +1 -2 jakarta-tomcat/src/share/org/apache/tomcat/request/Attic/SimpleMapper1.java Index: SimpleMapper1.java =================================================================== RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/request/Attic/SimpleMapper1.java,v retrieving revision 1.15.2.5 retrieving revision 1.15.2.6 diff -u -r1.15.2.5 -r1.15.2.6 --- SimpleMapper1.java 2000/12/12 20:33:44 1.15.2.5 +++ SimpleMapper1.java 2001/01/04 21:26:17 1.15.2.6 @@ -259,8 +259,7 @@ path ); if( container == null ) - throw new RuntimeException( "Assertion failed: " + - "container==null"); + return 404; if(debug>0) cm.log("SM: Prefix match " + path + " -> " + --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]