Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

upload servlet

navat venu
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting the error when i executed the upload servlet using below html

<FORM ACTION="venus.venu" ENCTYPE="multipart/form-data" METHOD="POST">
What is your name? <INPUT TYPE=TEXT NAME=submitter> <BR>
Which file do you want to upload? <INPUT TYPE=FILE NAME=file> <BR>

please do the needful!!

Error is

COMMONS error rg.apache.commons.fileupload.FileUploadBase$InvalidContentTypeEx
ception: the request doesn't contain a multipart/form-data or multipart/mixed st
ream, content type header is nullerror :java.lang.NullPointerExceptionerror :jav
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic