tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Heritier Arnaud" <>
Subject How to retreive an application context path from a servlet init()
Date Thu, 13 Nov 2003 16:51:59 GMT
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 ???

Thanx in advance.

Arnaud H.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message