Howdy,
You can do this in your app's web.xml:
<context-param>
<param-name>baseDir</param-name>
<param-value>/foo/bar</param-value>
</context-param>
And then in your servlet:
String baseDir = getServletContext().getInitParameter("baseDir");
> If iPlanet 4 has a feature tomcat doesn't, I'd be amazed.
If it were a spec-mandated feature, like context-params, then I'd be
more than amazed: I'd be fairly angry ;)
Yoav Shapira
Millennium ChemInformatics
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>