Has anyone successfully overridden the work directory into which Tomcat
4.0.3 writes compiled JSPs? I have found two methods documented, and neither
of them works for me.
The first is in server.xml:
<ContextManager workDir="workdir" >
The second is in web.xml:
a mapping for the .jps extension in WEBAPP/WEB-INF/web.xml, e.g.
<servlet>
<servlet-name> jsp </servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet </servlet-class>
<init-param>
<param-name>scratchdir</param-name>
<param-value>/mydir/workdir</param-value>
</init-param>
I have tried both of these methods both with absolute pathnames and with
paths relative to catalina_home but in all cases JSPs are compiled into the
default "work" directory under catalina_home. Am I missing something or do
these methods not work in 4.0.3?
Many thanks.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>