> Hi All:
> 
> I have requirement that the user could upload more then one file. Something
> like attachments in a mail?
> 
> How could I achieve this?
> 
> I know I could use
>   <html:file property="file" />
> 
> to upload a single file.
> 
> I need to extend this for multiple files
> 
> --Siva Jagadeesan

Siva,

You can have multiple file upload fields.
In my application, I have a default of 3.

You can actually write some Javascript to ask the user how many files
to upload and alter the number of file fields on the page based on that.

Have the property "file" be an array --> file[0], file[1], etc.

Becky


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

Reply via email to