Re: Where Is the Best Place To Store Files?

2004-10-15 Thread Eddie Bush
Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 3:06 PM Subject: Re: Where Is the Best Place To Store Files? Unless, of course, you are using something like HSQLdb, in which case, tell him he is a smart-ass. Seriously, there are difficulties with some databases

RE: Where Is the Best Place To Store Files?

2004-10-14 Thread Hiran.Chaudhuri
- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 13. Oktober 2004 19:29 To: Struts Users Mailing List Subject: RE: Where Is the Best Place To Store Files? The files are supposed to be read-only and downloadable. If I store files in the WEB-INF folder, then, the folder

RE: Where Is the Best Place To Store Files?

2004-10-14 Thread Hiran.Chaudhuri
Place To Store Files? Durham David R Jr Contr 805 CSPTS/SCE wrote: I personally opt to store uploaded files outside of the web-app's file-system altogether. This has to do with how easy it is to serve up content with Java (and other languages, I'm sure) and the need to physically

RE: Where Is the Best Place To Store Files?

2004-10-14 Thread McCormack, Chris
Subject: Re: Where Is the Best Place To Store Files? Durham David R Jr Contr 805 CSPTS/SCE wrote: I personally opt to store uploaded files outside of the web-app's file-system altogether. This has to do with how easy it is to serve up content with Java (and other languages, I'm sure

Re: Where Is the Best Place To Store Files?

2004-10-13 Thread Caroline Jen
Those files will be uploaded to the Tomcat container (no Apache involved) when the application is deployed. The database storage is out of the picture at this point of time. If the uploaded files do not have to be protected (any user can access them), where is the proper location to store them?

Re: Where Is the Best Place To Store Files?

2004-10-13 Thread Michael McGrady
Unless, of course, you are using something like HSQLdb, in which case, tell him he is a smart-ass. Seriously, there are difficulties with some databases in this respect. Don't know what you are using, and Vic if probably right that your superior is inferior. Michael McGrady Vic Cekvenich

RE: Where Is the Best Place To Store Files?

2004-10-13 Thread Durham David R Jr Contr 805 CSPTS/SCE
If the uploaded files do not have to be protected (any user can access them), where is the proper location to store them? In this case, it looks like anywhere in your app except WEB-INF. Keep in mind that if your deployment process involves deleting your web-app and reconstructing (such as is

Re: Where Is the Best Place To Store Files?

2004-10-13 Thread Michael McGrady
I know what Dave is saying you can do, and he is right, but .. If you store the files inside WEB-INF, you can still give all users programmic access. The advantage in doing this is that you might find in time that you need in the futrue to give some files limited access. If they are

RE: Where Is the Best Place To Store Files?

2004-10-13 Thread Durham David R Jr Contr 805 CSPTS/SCE
McGrady [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 3:15 PM To: Struts Users Mailing List Subject: Re: Where Is the Best Place To Store Files? I know what Dave is saying you can do, and he is right, but .. If you store the files inside WEB-INF, you can still give all users

RE: Where Is the Best Place To Store Files?

2004-10-13 Thread Durham David R Jr Contr 805 CSPTS/SCE
If they're inside of WEB-INF, then they aren't accessible via a URL -- something she wants, I think. I should rephrase this. If the files are stored inside of the WEB-INF, they aren't *directly* accessible via a URL. I personally opt to store uploaded files outside of the web-app's

RE: Where Is the Best Place To Store Files?

2004-10-13 Thread Caroline Jen
Wendy said that If you're talking about run-time file creation or uploads... keep in mind that a webapp can run unexploded from a .war file... in that case you can't write to a directory within your webapp, because it doesn't exist. I do upload files from clients' PC and store those files. Do

Re: Where Is the Best Place To Store Files?

2004-10-13 Thread Michael McGrady
McGrady [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 3:15 PM To: Struts Users Mailing List Subject: Re: Where Is the Best Place To Store Files? I know what Dave is saying you can do, and he is right, but .. If you store the files inside WEB-INF, you can still give all users

Re: Where Is the Best Place To Store Files?

2004-10-13 Thread Michael McGrady
Only if you run your application as an unexploded war file. Michael McGrady Caroline Jen wrote: Wendy said that If you're talking about run-time file creation or uploads... keep in mind that a webapp can run unexploded from a .war file... in that case you can't write to a directory within your

RE: Where Is the Best Place To Store Files?

2004-10-13 Thread Durham David R Jr Contr 805 CSPTS/SCE
Wendy said that If you're talking about run-time file creation or uploads... keep in mind that a webapp can run unexploded from a .war file... in that case you can't write to a directory within your webapp, because it doesn't exist. I do upload files from clients' PC and store those

Re: Where Is the Best Place To Store Files?

2004-10-13 Thread Michael McGrady
Durham David R Jr Contr 805 CSPTS/SCE wrote: I personally opt to store uploaded files outside of the web-app's file-system altogether. This has to do with how easy it is to serve up content with Java (and other languages, I'm sure) and the need to physically separate the application's persistent

RE: Where Is the Best Place To Store Files?

2004-10-13 Thread Joe Hertz
that are entirely within my control/mistake range. If someone knows how to break this, please say so :-) -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 4:42 PM To: Struts Users Mailing List Subject: Re: Where Is the Best Place To Store

RE: Where Is the Best Place To Store Files?

2004-10-13 Thread Hiran.Chaudhuri
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

RE: Where Is the Best Place To Store Files?

2004-10-13 Thread Ivan Vasquez
files (are they likely to be modified? ready only? etc) -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 11:30 AM To: [EMAIL PROTECTED] Subject: Where Is the Best Place To Store Files? I am using the Struts to build a web application. I am

RE: Where Is the Best Place To Store Files?

2004-10-13 Thread Caroline Jen
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

Re: Where Is the Best Place To Store Files?

2004-10-13 Thread Vic Cekvenich
Caroline Jen wrote: I am already told by my superior do not save those files into the database. What should I do? Tell him he is a dumb-ass? ;-) .V - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Where Is the Best Place To Store Files?

2004-10-13 Thread Wendy Smoak
From: Caroline Jen [EMAIL PROTECTED] 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?