[ 
https://issues.apache.org/struts/browse/WW-2446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43040#action_43040
 ] 

Dave Newton commented on WW-2446:
---------------------------------

I agree with Antonio; the issue is that S2 is configured out-of-the-box to use 
fileupload; without it <s:file.../> is broken. So we ship a distro that won't 
work as advertised. It's one thing to say "you have to download Spring 
yourself", it's another to not support file uploading the way the docs say we 
do.

Unless file uploading is moved into a plugin, like Spring is, I feel we should 
include fileupload.

> Missing needed dependency in current distribution for File Upload feature.
> --------------------------------------------------------------------------
>
>                 Key: WW-2446
>                 URL: https://issues.apache.org/struts/browse/WW-2446
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.0.11
>         Environment: Solaris
>            Reporter: Craig Swift
>
> Currently when trying to use the file upload feature the following errors 
> occur: java.lang.RuntimeException: Unable to load bean 
> org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta) - [unknown 
> location]
> This can be fixed by including the commons-fileupload jar in the web 
> application. Unfortunately this isn't included in the standard struts 
> distribution and the wiki doesn't explain it. Please include in the future, 
> thanks.

-- 
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