You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Erlandsson Martin <Ma...@guide.se> on 2004/02/19 07:58:19 UTC

Reading war file name from servlet?

Hi list.

I have a bunch of similar servlets for which I would like to set up configuration directories. These paths should ideally be based on the names of the different war files. 

How can I retreive the war file name or the context path (or docBase) of a servlet from _within_ that servlet? 


Thanks,

/Martin



Á

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