Win a copy of Functional Reactive Programming this week in the Other Languages 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