struts2 上传报错,自己测试么有问题,服务器并发访问提示no result defined for action ... 50
web容器:tomact6设置内存1g确认上传代码没有问题,因为在自己机器上测试通过,但到服务器上,多人访问时出现如下错误信息:2014-11-0711:31:37,07...
web容器:tomact6 设置内存1g
确认上传代码没有问题,因为在自己机器上测试通过,但到服务器上,多人访问时出现如下错误信息:
2014-11-07 11:31:37,078 WARN [org.apache.struts2.dispatcher.Dispatcher]-<Could not find action or result> at .warn[line:60]
No result defined for action com.sgz.rthb.signup.action.FileUploadAction and result input
at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:376)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:278)
at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265)
at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
...,
请高手帮忙解答
仔细查看日志发现第一次报错为这个原因:org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed.
请高手赐教。 展开
确认上传代码没有问题,因为在自己机器上测试通过,但到服务器上,多人访问时出现如下错误信息:
2014-11-07 11:31:37,078 WARN [org.apache.struts2.dispatcher.Dispatcher]-<Could not find action or result> at .warn[line:60]
No result defined for action com.sgz.rthb.signup.action.FileUploadAction and result input
at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:376)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:278)
at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265)
at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
...,
请高手帮忙解答
仔细查看日志发现第一次报错为这个原因:org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed.
请高手赐教。 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询