On Dec 1, 2006, at 6:00 PM, billsalvucci wrote:

Looks like I can use the javax.servlet.context.tempdir to do what I need. If
you don't specify the work-directory in the web.xml, cocoon uses the
javax.servlet.context.tempdir system property.

I don't believe that's quite true. IIUC, "javax.servlet.context.tempdir" isn't the name of a system property, it's the name of a servlet context attribute, and its value is an object of type java.io.File. Your servlet container has whatever way it has of coming up with a path for this directory.

If you are using Jetty 6, the algorithm is documented here:

        http://docs.codehaus.org/display/JETTY/Temporary+Directories

So, it looks like you can use "-Djava.io.tmpdir=...". In Jetty 5 I think you'd be out of luck (http://jetty.mortbay.org/jetty5/faq/faq_s_250- Configuration_t_210tempdir.html). I don't know about Tomcat or any of the others.

good luck,
—ml—


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to