struts上传文件抛Read timed out异常,请关注!

06-08-11 shipatrioc
文件不大,内网没问题,外网访问会有问题,下面是错误信息:

- Failed to parse multipart request

org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data request failed. Read timed out

at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:384)

at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:268)

at org.apache.struts.upload.CommonsMultipartRequestHandler.handleRequest(CommonsMultipartRequestHandler.java:233)

at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1209)

at org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821)

at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)

at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)

at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)

1
猜你喜欢