Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

multipart/form-data encoded formdata  RSS feed

 
Sander Fieten
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some already wrote some utils to do this for, eg, www.servlets.com.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!