This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
When i am executing this program getting problem like
org.apache.commons.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
[Added code tags - see UseCodeTags]
when i used enctype="multipart/form-data" in form tag i am not getting input type="text" values . Can any one help me.How can i get input type="text" values when i am using enctype="multipart/form-data" in form tag.
why don't you use : the following packages .. (need to download seperately -not present in jdk software they belongs to javazoom api , used for file uploading and downloading)
but before that you need to use struts.jar,cos.jar,uploadbean.jar(please set the JAR files in CLASSPATH,please don't forget)
and try to use :
and follwoing package import statements:
Please try with above.. If I am wrong , please correct me..