webtier@glassfish.java.net

where to store uploaded files

From: <webtier_at_javadesktop.org>
Date: Wed, 27 Oct 2010 18:46:59 PDT

Hi,

I have a application which has two WARs, one WAR accepts user uploads of files and then display back to the users. The other WAR is required to access these files.

But if I put the uploaded files outside of the WAR context dir. it's hard to construct a URL for an uploaded file.

So what I want to ask is, what's the usual practice to handle this case by most webapp developers?

Thank you very much for help.
[Message sent by forum member 'lihe65']

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