You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "fairy (JIRA)" <ji...@apache.org> on 2017/04/13 00:16:41 UTC

[jira] [Created] (WW-4782) Struts2.5.10.1 upload photo file can't set success

fairy created WW-4782:
-------------------------

             Summary: Struts2.5.10.1 upload photo file can't set success
                 Key: WW-4782
                 URL: https://issues.apache.org/jira/browse/WW-4782
             Project: Struts 2
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.5.10
         Environment: Windows10 ,jdk1.7.80, struts2.5.10.1
            Reporter: fairy


Hi ,today i found my application can't upload file success,Could you help me check it?

I have do it follow the guide:
http://struts.apache.org/docs/file-upload.html
the error message as below :
Unexpected Exception caught setting 'upload' on 'class com.opensymphony.xwork2.ActionSupport: Error setting expression 'upload' with value ['org.apache.struts2.dispatcher.multipart.StrutsUploadedFile@22261709', ]
ERROR ParametersInterceptor Developer Notification (set struts.devMode to false to disable this message):
Unexpected Exception caught setting 'uploadContentType' on 'class com.opensymphony.xwork2.ActionSupport: Error setting expression 'uploadContentType' with value ['image/jpeg', ]
ERROR ParametersInterceptor Developer Notification (set struts.devMode to false to disable this message):
Unexpected Exception caught setting 'uploadFileName' on 'class com.opensymphony.xwork2.ActionSupport: Error setting expression 'uploadFileName' with value ['tabletennis_head.jpg', ]






--
This message was sent by Atlassian JIRA
(v6.3.15#6346)