tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <>
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


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:
For additional commands, e-mail:

View raw message