• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is

 
yogi maheshnath
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using apache commons file upload and getting following error:-
the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is null
servlet code


jsp code

 
Jhon Ortiz
Greenhorn
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

Try putting method="POST" in the form.

So long!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic