i use a simple jsp file with :
ContextPath: <%= request.getContextPath() %><br>
ServletPath: <%= request.getServletPath() %><br>
----- Original Message -----
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Tuesday, October 31, 2006 8:11 PM
Subject: RE: getContextPath
From: mast [mailto:[EMAIL PROTECTED]
Subject: Re: getContextPath
with a 5.5.9 server
ContextPath: /test
ServletPath: /test.jsp
with a 5.517 server
ContextPath:
ServletPath: /test/test.jsp
What APIs are you using to determine ContextPath and ServletPath?
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]