Christopher Schultz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Léa,
>
> On 9/30/2011 2:37 PM, Léa Massiot wrote:
>> o I have two WebApps "w1" and "w2" (under the Tomcat "webapps"
>> directory). o Both "w1" and "w2" contain (at least) a JSP which
>> allows to upload files to the server. o Presently, the uploaded
>> files are stored: - in the "w1\uf1\" directory for "w1", - in the
>> "w2\uf2\" directory for "w2".
>
> Be careful: if you undeploy the webapp, you will have all those files
> deleted by Tomcat.
>
> I highly recommend that you place your "upload" directory or
> directories safely /outside/ of Tomcat's webapps directory to avoid
> any possibility of Tomcat deleting those files.
>
Right. But then, Lea's simple scheme for download will stop working.
Damn..
Or, wasn't there a possibility to place a symlink within the webapps dir, and have Tomcat
/not/ following it when undeploying ? Or was that precisely the catch, that it always does
?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
|