struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Brown (JIRA)" <j...@apache.org>
Subject [jira] Updated: (WW-2464) Multipart request parameters not copied into parameterMap
Date Fri, 13 Jun 2008 01:12:05 GMT

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

Don Brown updated WW-2464:
--------------------------

    Fix Version/s: 2.1.3

> Multipart request parameters not copied into parameterMap
> ---------------------------------------------------------
>
>                 Key: WW-2464
>                 URL: https://issues.apache.org/struts/browse/WW-2464
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.0.11
>         Environment: Windows XP - Tomcat 6
>            Reporter: Spec Dev
>             Fix For: 2.1.3
>
>         Attachments: multipart post.PNG
>
>
> Multipart request parameters aren't being copied into the parameterMap.
> Hence, doing HttpServletRequest.getParameter("xxx") return null for all multipart parameters.
> A org.apache.struts2.dispatcher.StrutsRequestWrapper is passed when a GET or POST action
is executed.
> However,  a org.apache.struts2.dispatcher.multipart.MultiPartRequestWrapper is used for
"multipart/form-data" POST actions.
> The org.apache.struts2.dispatcher.multipart.MultiPartRequestWrapper has an attribute
of type org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest which in turn maintains
a HashMap attribute named "params".
> "params" contains the multipart request parameters and those parameter are never copied
into the parameterMap.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message