You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Steven Elliott <tt...@mac.com> on 2002/01/11 16:54:38 UTC
getPathTranslated - Bug?
I have a question re: the getPathTranslated method of HttpServletRequest in
Servlet 2.3 as it is implemented in TC 4.0.1.
Using Tomcat 4.0.1 (win2k) Standalone, the first access to the servlet I get
the path + the servlet name + extra path info. The second time I access the
servlet (same url) I get the same path returned minus the servlet name?
Which is the correct behavior (for containers) and why does TC not return
consistently?
1st time the result is:
"C:\Tomcat_401\webapps\upload\HelloWorld\moreInformation"
2nd time (successive accesses) the result becomes:
"C:\Tomcat_401\webapps\upload\moreInformation"
In both cases the url is:
http://localhost/upload/servlet/HelloWorld/moreInformation?name=value
Thanks for your help....
Steven Elliott
//*
Steven Elliott <Ho...@vtvLearning.com>
Head of Technology
VTV Learning Corporation
Los Angeles - Boston - Lisbon
(http://www.vtvLearning.com/)
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>