Hi all,
   I have an issue 
I have a context nemed "demo" with the following configuration
<Context path="/demo" docBase="webapps/MyWebApp.war" 
         debug="0" privileged="true">
</Context>

I want to get the context name "demo" in a servlet . I am using Spring
framework. It will be more usefule if I get it in Dispatcher servlet. If I
am deploying the context in "/" , I should get it as "/"
<Context path="/" docBase="webapps/MyWebApp.war" 
         debug="0" privileged="true">
</Context>

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.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to