https://bz.apache.org/bugzilla/show_bug.cgi?id=63206

--- Comment #6 from Christopher Schultz <ch...@christopherschultz.net> ---
(In reply to Konstantin Kolinko from comment #4)
> I think the OP means the following:
> If ${catalina.base}/temp directory does not exist, file upload fails.
> 
> Unlike ${catalina.base}/work, the "temp" directory is not created
> automatically at start time.

Auto-creation of the ${catalina.base}/temp directory would be okay with me, but
not the creation of arbitrary "external" directories. IMO, each application
should have its own segregated "uploads" directory, so maybe
${catalina.base}/work/[engine]/[host]/[app]/temp.

As of now, it would interfere with the package namespace for JSPs, so compiled
JSP files ought to go into a "jsp" subdirectory. But that's a fairly major
change.

> Implement as a Listener, configurable in server.xml?

Easy enough to do, but this is really an engine-specific option. Or maybe even
host-specific.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to