tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: How to retreive an application context path from a servlet init()
Date Fri, 14 Nov 2003 01:43:42 GMT
AFAIK, it can only be retrieved via the HttpServletRequest

-Tim

Heritier Arnaud wrote:
> Hi guys !!
> 
> I have a Struts application and I extend the ActionServlet.
> In the init(ServletConfig) method I would like to retreive the context path of the application
where the servlet is used.
> I didn't find a solution.
> Am I stupid or too tired??
> 
> Do you have a standard servlet or a Struts specific solution to acheive this ???
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message