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=10544>. 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=10544 crossContext for servlets not working Summary: crossContext for servlets not working Product: Tomcat 4 Version: 4.0.4 Final Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Critical Priority: Other Component: Servlet & JSP API AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I am not able to reference resources from one webapp to another in the same host. I have previously successfully used the configuration (in 4.03): <DefaultContext crossContext="true"/> I also tried adding crossContext="true" to the contexts for each webapp in the host. This made no change. The following (from a page in the ROOT context) gets a 404 error and the host log shows the error is for the URI /test.jsp (root cause: java.io.FileNotFoundException: /test.jsp), where it previously successfully forwarded to the page /webapp2/test.jsp: RequestDispatcher dispatcher = ctx.getContext ("/webapp2").getRequestDispatcher("/test.jsp"); dispatcher.forward(request, response); For any value I use in ctx.getContext("/asdas") that begins with a "/", I get the current context (non-null), EVEN if the value does not match any existing context. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>