在JSP中FORM里面已经写上了ENCTYPE="multipart/form-data"这句话,但是为什么还出错?请各位大侠帮帮忙!

严重:Failedtoparsemultipartrequestorg.apache.commons.fileupload.FileUploadException:Pro... 严重: Failed to parse multipart request
org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data request failed. null
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:193)
at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:442)
at org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:816)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:203)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.dao.UnloginAccessFilter.doFilter(UnloginAccessFilter.java:189)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.dao.EncodingFilter.doFilter(EncodingFilter.java:56)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
at java.lang.Thread.run(Thread.java:619)
2011-8-1 10:06:12 org.apache.catalina.core.ApplicationContext log
信息: org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data request failed. null
展开
 我来答
yunlkong
2011-08-11 · TA获得超过5711个赞
知道大有可为答主
回答量:9695
采纳率:0%
帮助的人:1.9亿
展开全部
login.aspx 怎么接受 login.aspx.cs传回来的值,可以放一个Hidden也可以用绑定的方法<%=变量名>;
success.aspx接受 login.aspx 转来的值=Request["参数名"];
success.aspx怎么接收 login,aspx.cs 转来的值 ,可以当由 login,aspx跳到success.aspx页面时<a href=‘success.aspx?参数1=值1&参数2=值2’>,在success.aspx 页面用Request["参数名"]接收传过来的值。需要什么信息就传过来
jim_yl
2011-08-01 · TA获得超过253个赞
知道小有建树答主
回答量:100
采纳率:0%
帮助的人:99.9万
展开全部
有input type ="file"的录入框么?

奇怪啊,你是用纯struts做文件上传么?
追问
有呀,没有怎么上似图片呀?嗯,就用了一个struts别的没有用
追答
这个问题就非常怪了,你的是本机测试环境么?
考虑一下是不是jar包不匹配?
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式