Hi, Caroline.

Does your application use a database? If yes, is that capable of storing binary data?
I'd go for this, since what you want to store looks like user data, and I'd like to 
have transactionality and backups for that.

If not, you might pick a directory inside your web application, but also inside the 
WEB-INF folder to not make all these files accessible via HTTP. Here I'd go for 
something like WEB-INF/var/...

Hiran

-----------------------------------------
Hiran Chaudhuri
SAG Systemhaus GmbH
Elsenheimer Straße 11
80867 München
Phone +49-89-54 74 21 34
Fax   +49-89-54 74 21 99


 

> -----Original Message-----
> From: Caroline Jen [mailto:[EMAIL PROTECTED] 
> Sent: Mittwoch, 13. Oktober 2004 16:30
> To: [EMAIL PROTECTED]
> Subject: Where Is the Best Place To Store Files?
> 
> I am using the Struts to build a web application.  I am going 
> to store some files (the files can be .doc, .txt, .pdf, .jpg, 
> whatever) on the server; e.g.
> somewhere in my web application.
> 
> Where is the proper and best place to store files? 
> $TOMCAT\webapps\MyApplication\????
> 
> Thanks for suggestions.
> 
> 
>               
> _______________________________
> Do you Yahoo!?
> Declare Yourself - Register online to vote today!
> http://vote.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to