Sent: Thursday, 28 August 2003 15:18
To: Struts Users Mailing List
Subject: RE: Looking for Multiple file upload at once example
I posted something about this a week or two back outlining a technique
whereby, although the user can still only upload one file (per field) at a
time, the form is ses
Message-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Thursday, 28 August 2003 11:52
To: [EMAIL PROTECTED]
Subject: Looking for Multiple file upload at once example
I'm drawing a blank looking for an example of
uploading 2 or more files at once in Struts 1.1.
I'm trying to load
I'm drawing a blank looking for an example of
uploading 2 or more files at once in Struts 1.1.
I'm trying to load 3 pics at once: image,
bgImage, and logo. I have String setter's in my
ActionFrom so I can store the name of the files,
and I'm setting my form enctype to
"multipart/form-data". I did
oaded files name and data. :)
Sorry to bother the list. And shame on me. :(
David
-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 11:52 PM
To: [EMAIL PROTECTED]
Subject: Looking for Multiple file upload at once example
I'm drawing a b
To: Struts Users Mailing List
Subject: multiple file upload
My requirement is to upload some files, the no of files are not known as the
user can add no of files to be attched/uploaded.
So, I have two options for doing that -
1. I create the file button dynamically with different name, but in t
My requirement is to upload some files, the no of files are not known as the user can
add no of files to be attched/uploaded.
So, I have two options for doing that -
1. I create the file button dynamically with different name, but in this case how can
I add that parameter in form bean.
2. I ca
hey...
Other than the problem with struts and the same file-name... I need the same
implementation for an
application I'm writing.
I wrote a prototype where you choose at run-time how many upload boxes you want on a
form which
will get set in an indexed property FormFile[]), then the struts Ac
> -Original Message-
> From: Andrew Hill [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, August 17, 2002 5:56 AM
> To: Struts Users Mailing List; [EMAIL PROTECTED]
> Subject: RE: Multiple file upload?
>
>
> btw:
> What gets submitted for an empty file f
> -Original Message-
> From: Andrew Hill [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, August 17, 2002 5:51 AM
> To: Struts Users Mailing List
> Subject: Multiple file upload?
>
>
> Haven't tried this yet so figured I better get advice on the
> best ap
We setup the ability to have people upload zips and then we unpack them
| -Original Message-
| From: Andrew Hill [mailto:[EMAIL PROTECTED]]
| Sent: Saturday, August 17, 2002 7:51 AM
| To: Struts Users Mailing List
| Subject: Multiple file upload?
|
| Haven't tried this yet so figu
btw:
What gets submitted for an empty file field?
Nothing, or null or... ?
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Saturday, August 17, 2002 20:51
To: Struts Users Mailing List
Subject: Multiple file upload?
Haven't tried this yet so figured I bette
Haven't tried this yet so figured I better get advice on the best approach
before spending time on it.
I (will) have a form from which the user will be uploading multiple files
the number of which is not fixed.
Option A:
Since I dont have to support Nutscraper 4.x, it is a simple matter to create
File upload of a single file with Struts 1.0.2 seems to work OK. But it
fails for multiple files. Note: I mean 1 tag where the
user selects *multiple* files (Opera and IE allow this), not multiple tags!
The MultipartRequestHandler doesn't seem to support this, since it
getFileElements() returns
File upload of a single file with Struts 1.0.2 seems to work OK. But it
fails for multiple files. Note: I mean 1 tag where the
user selects *multiple* files (Opera and IE allow this), not multiple tags!
The MultipartRequestHandler doesn't seem to support this, since it
getFileElements() returns
Look up the MultiPartRequest section of the documentation.
-Original Message-
From: Christian Billen [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 04, 2001 21:59
To: [EMAIL PROTECTED]
Subject: Struts and Multiple File Upload
Hi there, I want to implement a form with multiple input for
Hi there, I want to implement a form with multiple input for file upload, is
there any functionality in the framework to help you process these?
Any pointers to the doc would help.
Thanks,
Christian
16 matches
Mail list logo