users@glassfish.java.net

Re: Keeping directory content with remote deployment

From: <glassfish_at_javadesktop.org>
Date: Thu, 23 Apr 2009 11:41:19 PDT

You want to place your uploaded files in a directory that is not within the application itself.

The best way to do this with Glassfish is to use Alternate Doc Roots which will map an external directory in to your applications name space, but since it's outside the application, it is not destroyed when you redeploy.
[Message sent by forum member 'whartung' (whartung)]

http://forums.java.net/jive/thread.jspa?messageID=343415