This content has been marked as final.
Show 1 reply
-
1. How to allow a WAR file to access an external repository over http to upload and read content
peterj Mar 15, 2011 2:16 PM (in response to starksh)The code within your WAR can save uploaded files anywhere on the system, it doesn't even have to be anywhere in the JBoss AS directory. Similarly, your code can provide files for download from anywhere on the system. I recommend that you don't hard-code a directory location within you code, but instead provide a configuration option (system property or web.xml setting) that identifies the upload/download directory.