wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
 
jQuery in Action, 2nd edition
 
subject: multipart/form-data encoded formdata
 
Similar Threads
Mock Exam Question
problem with multipart/form-data
HTML Form Upload produces junk characters
FormFile not working
commons FileUpload.