首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

java.io.IOException: Corrupt form data: premature ending,该如何处理

2013-09-11 
java.io.IOException: Corrupt form data: premature ending用Servlet上传文件时出现如题异常,异常详细内

java.io.IOException: Corrupt form data: premature ending
用Servlet上传文件时出现如题异常,异常详细内容如下
HTTP Status 500 - 

--------------------------------------------

type Exception report

message 

description The server encountered an internal error () that prevented it from fulfilling this request.

exception 

java.io.IOException: Corrupt form data: premature ending
com.oreilly.servlet.multipart.MultipartParser.<init>(MultipartParser.java:166)
javazoom.upload.parsing.CosMultipartParser.handleRequest(Unknown Source)
javazoom.upload.MultipartFormDataRequest.<init>(Unknown Source)
javazoom.upload.MultipartFormDataRequest.<init>(Unknown Source)
javazoom.upload.MultipartFormDataRequest.<init>(Unknown Source)
javazoom.upload.MultipartFormDataRequest.<init>(Unknown Source)
javazoom.upload.MultipartFormDataRequest.<init>(Unknown Source)
uploadServlet.doPost(uploadServlet.java:38)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


note The full stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs.


--------------------------------------------

Apache Tomcat/6.0.14

求解决方法

[解决办法]
上传文件名有中文字符?转码
我的异常网推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.myexception.cn/java-web/317.html

热点排行