Title: File upload thru Servlet/html
go to the archives and make a search for a topic
"Uploading file" there's a huge and detailed discussion on this
of course you can take a short-cut and pick up Jason's classes at:

http://www.servlets.com/cos/index.html

they work perfectly well and they are incredibly simple to use. Just remember to use the servlet config object to get the path where you want to save the uploaded files and don't use some hard-coded path. I did that and it didn't seem to work with some windows path like "C:\upload"

pb

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Naresh Chhuttani
Sent: 05 September, 2001 9:35 AM
To: [EMAIL PROTECTED]
Subject: File upload thru Servlet/html

Hi,

I want to upload file thru Servlets,
How can i select a file thru Servlet/HTML from clients area
and upload? Are there any classes to do uploading?

If anyone knows pls let me know

Thanks in adv,
Naresh

Reply via email to