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=6846>. 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=6846 dispatcher.forward() is confused when using special servlet mapping URLs Summary: dispatcher.forward() is confused when using special servlet mapping URLs Product: Tomcat 4 Version: 4.0.3 Final Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Unknown AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] please have a look at the web application attached to this bug. web.xml defines two servlet mappings: /subdir/ reproduces the bug. /subdir/foobar works as expected. both map to a servlet that does a dispatcher.forward() to an html page (/subdir/hello.html). both mappings should display the html page. unfortunately, the first mapping doesn't. apparently it searches for hello.html at some other place than the /subdir. notice that the mapping contains a trailing slash to make sure that servlet mapping is contained in the subdir. i found no part of the servlet specification that forbids the use of just a directory. it also works as expected under tomcat 3.2 and 3.3. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>