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

multipart/form-data encoded formdata

Sander Fieten

Joined: Mar 08, 2001
Posts: 13
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

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.