当前位置: 代码迷 >> J2EE >> javax.servlet.ServletException: Processing of multipart/form-data request failed解决办法
  详细解决方案

javax.servlet.ServletException: Processing of multipart/form-data request failed解决办法

热度:269   发布时间:2016-04-22 00:44:09.0
javax.servlet.ServletException: Processing of multipart/form-data request failed
exception  

javax.servlet.ServletException: Processing of multipart/form-data request failed. Read timed out
org.apache.struts.upload.CommonsMultipartRequestHandler.handleRequest(CommonsMultipartRequestHandler.java:202)
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:442)
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:816)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:203)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
cn.com.enlink.common.PJActionServlet.process(PJActionServlet.java:435)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.enlink.webproxy.filtertest.doFilter(filtertest.java:45)
cn.com.enlink.common.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:35)

本地测试没问题,外网就报这个错,但传小文件没事,传mp3就报错,高手求解

------解决方案--------------------
mp3太大,网络太慢。
Read timed out
表示读取信息超时,网络问题
------解决方案--------------------
一楼正解,你应该改成支持断点续传的。
  相关解决方案