You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2013/01/27 20:49:13 UTC

[jira] [Resolved] (WW-3363) MultiPartRequest documentation needs updated per 2.1.8 enhancements

     [ https://issues.apache.org/jira/browse/WW-3363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Lenart resolved WW-3363.
-------------------------------

    Resolution: Fixed
      Assignee: Lukasz Lenart

Done, resolved! Thanks for reporting!
                
> MultiPartRequest documentation needs updated per 2.1.8 enhancements
> -------------------------------------------------------------------
>
>                 Key: WW-3363
>                 URL: https://issues.apache.org/jira/browse/WW-3363
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 2.1.8
>            Reporter: Lauri Lehtinen
>            Assignee: Lukasz Lenart
>             Fix For: 2.3.9
>
>
> This issue appears when I update my struts2 dependency from 2.1.6 to 2.1.8, and disappears when reverting. Here are some facts I've gathered so far:
> In my struts.xml:
> <constant name="struts.multipart.parser" value="com.systemout.pdf.webapp.base.multipart.MonitoredMultiPartRequest" />
> Tomcat startup:
> ...
> 09-12-31 13:36:54 DEBUG org.apache.struts2.config.BeanSelectionProvider - Choosing bean (class com.systemout.pdf.webapp.base.multipart.MonitoredMultiPartRequest) for interface org.apache.struts2.dispatcher.multipart.MultiPartRequest
> ...
> On file upload, debugging in org.apache.struts2.dispatcher.Dispatcher.java, after line 697 has been executed, multiNames contains: [default, jakarta, struts] and multipartHandlerName is set to "jakarta"
> My custom MonitoredMultiPartRequest is never instantiated, instead, JakartaMultiPartRequest is used.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira