struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (WW-3363) MultiPartRequest documentation needs updated per 2.1.8 enhancements
Date Sun, 27 Jan 2013 19:49:13 GMT

     [ 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

Mime
View raw message