Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 30786 invoked by uid 500); 14 Sep 2001 14:03:23 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: tomcat-dev@jakarta.apache.org Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 30767 invoked from network); 14 Sep 2001 14:03:23 -0000 Date: 14 Sep 2001 14:03:23 -0000 Message-ID: <20010914140323.2514.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 3612] New: - getServletPath() method returns wrong value X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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=3612 Summary: getServletPath() method returns wrong value Product: Tomcat 4 Version: 4.0 Release Candidate 1 Platform: PC OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Unknown AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: account.consult-smi@airbus.fr Sometimes, a call to getServletPath() [in HttpServletRequest] returns the path "/servlet" instead of lets say "/servlet/TestServlet". It seems as if this only occurs if the servlet is NOT loaded yet. Then only /servlet is returned. A second call to the servlet returns the correct path information. (After a webapp-reload from within the manager application, the call still returns the correct value. If the webapp is stopped and restarted, the first call to a servlet returns the wrong value again.) JSP Pages always return correct path information. (I also have filters in front of my servlets)