;> Thanks in advance
>>
>>
>>
>>
>
> -------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED
request.getContextPath() should supply what you need. If the webapp is
the ROOT webapp, it will return an empty string. That just makes it
easy to write stuff like:
If you really need the ROOT webapp to return "/", then you'll just have
to test for an empty string and handle that as a spec
t;/" , I should get it as "/"
Thanks in advance
--
View this message in context:
http://www.nabble.com/getting-context-path-name-tf3362065.html#a9352868
Sent from the Tomcat - User mailing list archive at Nabble.com.
--