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
-
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
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
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
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?
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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?
21 matches
Mail list logo