tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: WebApps sharing uploaded files
Date Tue, 04 Oct 2011 15:51:19 GMT
-----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.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6LK3cACgkQ9CaO5/Lv0PBS+gCeJyiZGOqJzB4d3lGH2puGoWAu
fhEAn3qEv8wZZT2+UcAKEZR38eXMZWtW
=Tmhq
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message