>>> Gokul Singh <[EMAIL PROTECTED]> 28-Aug-00 11:59:40 AM >>>
>Why did the RequestDispatcher not work in the case 'A'.
>I think it should have forwarded to /junk/first/second or to
>/junk/second.
My reading of the spec and what you've forwarded to is that the
resulting target should be:
/junk/second
because the path you have called:
/junk/first
does not have an end slash, thus requriing the container to go back
to the context path.
>but it did not forward to any of these. How is the
>RequestDispatcher supposed to work in this case??
Tomcat bug I suspect. Unless Tomcat takes the call to mean forward
to:
/junk/firstsecond
But then it's inconsistent with your third case isn't it?
I would say Tomcat bug is most likely answer. Probably best to raise
it directly on their list.
Nic
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html