tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Sarva" <che...@2deck.com>
Subject Re: com.orielly.servlet File Upload package
Date Wed, 21 Aug 2002 17:22:27 GMT
The number of files doesn't necessarily have to be preset. I have seen forms
where there is a "more fields" button which adds another 5 file upload
fields with each click (of course the page is refreshed in most cases but it
can also be done with javascript & dhtml). All you have to do is name your
fields something like fileupload_1, fileupload_2...fileupload_x and when
parsing the multipart form add each FilePart to an array. Hope that helps..

Regards,
Chetan Sarva

----- Original Message -----
From: "Raju Lokhande" <RLokhande@ne.health.net>
To: <tomcat-user@jakarta.apache.org>
Sent: Wednesday, August 21, 2002 1:10 PM
Subject: Re: com.orielly.servlet File Upload package


> You are right. I needed more fields on the html form to enter more than
one file name. That means I have to pre-set the number of files in my html
form.
> Is there a more user-friendly interface available which works with this
package?
> I know there are commercially available software which do the FileUpload
job, but am looking for an open-source free-ware.
> Raju Lokhande


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message