permaculture playing cards*
The moose likes Servlets and the fly likes multipart/form-data encoded formdata Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "multipart/form-data encoded formdata" Watch "multipart/form-data encoded formdata" New topic
Author

multipart/form-data encoded formdata

Sander Fieten
Greenhorn

Joined: Mar 08, 2001
Posts: 13
Hi,
I'm using a simple form with two fields, one of them being of FILE type. This file must be multipart/form-data encoded when send to the server.
How can I easily get the values of the form fields, including the uploaded file. Must I read the InputStream and decode it myself?
paul sun
Greenhorn

Joined: Dec 22, 2000
Posts: 28
Some already wrote some utils to do this for, eg, www.servlets.com.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: multipart/form-data encoded formdata