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

Lukasz Lenart updated WW-3363:
------------------------------

    Fix Version/s:     (was: 2.3.x)
                   2.3.6
    
> 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
>             Fix For: 2.3.6
>
>
> 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

Reply via email to