[ 
https://issues.apache.org/struts/browse/WW-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42165
 ] 

sebastien b. commented on WW-1944:
----------------------------------

I'm also for adding this files or adding a warning message about theses 
dependencies.
Best regards.

> Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest 
> (jakarta)
> --------------------------------------------------------------------------------------
>
>                 Key: WW-1944
>                 URL: https://issues.apache.org/struts/browse/WW-1944
>             Project: Struts 2
>          Issue Type: Improvement
>    Affects Versions: 2.0.6, 2.0.7, 2.0.8, 2.0.9, 2.0.10
>         Environment: Strusts 2.06 with xwork 2.0.2
> I use only actually the file strusts2-core-2.0.6.jar and xwork-2.0.2.jar
>            Reporter: sebastien b.
>             Fix For: 2.1.0
>
>
> Hello,
> I try to use file tag to upload a file to my server.
> The problem : When i click on submit button, i had this error : 
> Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest 
> (jakarta)
> I tried to understand this error and i found that struts.properties have a 
> missing configuration on 'struts.multipart.parser' key.
> The default value about this key is "jakarta" but no jakarta class exist.
> I created a new file strusts.properties (as said in this page 
> http://cwiki.apache.org/WW/handling-file-uploads.html) whith this option :
> struts.multipart.parser=org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest
> And I downloaded commons-fileupload-1.2.jar and commons-io-1.3.1.jar packages.
> And i have no error now ...
> Can i add warning message in this page (http://cwiki.apache.org/WW/file.html) 
> to alert about the obligation of download commons-fileupload and commons-io ?
> Cordially
> P.S. : Sorry for my poor english 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to