Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Uploading of image  RSS feed

 
D. Capri Michael
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there i'm encountering a situation in uploading image which shows that
org.apache.tomcat.util.http.fileupload.FileUploadBase$InvalidContentTypeException: the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is application/x-www-form-urlencoded

which i'm not sure why despite my form head is:
<form action='ProfileUpdate' method='post' id='form' enctype='multipart/form-data'>

Currently i'm using Apache Tomcat 6.0! Is there anyone can help me out with this? :d
Thank you very much! :)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!