[ 
http://www.stripesframework.org/jira/browse/STS-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11184#action_11184
 ] 

Ben Gunter commented on STS-491:
--------------------------------

Come to think of it, an exception should only be thrown if the code actually 
tries to *use* the MultipartWrapper and one can't be found. There are plenty of 
apps that don't use multipart requests at all.

> Autodiscovery of MultipartWrapper class
> ---------------------------------------
>
>                 Key: STS-491
>                 URL: http://www.stripesframework.org/jira/browse/STS-491
>             Project: Stripes
>          Issue Type: Improvement
>            Reporter: Ben Gunter
>            Assignee: Tim Fennell
>             Fix For: Release 1.5
>
>
> Stripes should attempt to automatically determine which file upload provider 
> is available. The configuration parameter MultipartWrapper.Class should 
> override everything, but in the absence of the config param 
> RuntimeConfiguration should check first if COS is available on the classpath 
> and then if Commons FileUpload is available. If all three of these fail then 
> it should throw an exception. This way all a developer has to do is drop 
> Commons FileUpload in the lib directory to get it working.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to