Since the ServletContext is part of javax.servlet, it should not know anything about the Context path. Since that is an HTTP artifact.
-Tim
Heritier Arnaud wrote:
It's unfortunately what I saw.
I don't understand why in the servlet specs it is not possible to get it in the servlet init ? The container should know the application context when it deploies the servlet.
It's weird.
Arnaud.
-----Message d'origine----- De : Tim Funk [mailto:[EMAIL PROTECTED] Envoy� : ven. 14 novembre 2003 02:44 � : Tomcat Users List Objet : Re: How to retreive an application context path from a servlet init()
AFAIK, it can only be retrieved via the HttpServletRequest
-Tim
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
