This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Enctype='multipart/form-data in servlets

 
vaibhav punekar
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I m working on the imae processing project.The application involves
1)Client selects the to be processed
2)the file is uploaded on the web server where it is processed and sent back to the client.
Problem is servlet is not supporting
<form action="" method= post Enctype="multipart/form-data">
req.getContentType() is giving "text/html" only and so the servlet gives "socket closed:IOException"I m using "Fileupload and MultipartRequest class" in O'reilly book.
Is their any problem with the code or any of the browsers/servlets API does not support this encoding?please help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic