[
https://issues.apache.org/jira/browse/WW-4684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16147399#comment-16147399
]
Vijay Srivastava commented on WW-4684:
--------------------------------------
hi,
I see the same issue. JSON inpur params are not converted to Java object in
action. Is this fix available in 2.5.12 ? Please advise.
Like you have a JSON object in the request and which is required to be
converted to object as a part of request. request below is not converted to
FujiLoginRequest . Can you please check ?
For example
vzCloud/fuji/fujiLogin.action?request.repositoryPath[0]=VZWEB:/VZMOBILE/1.jpg
--------------------------------------------------
public class FujiLoginAction extends BaseAction implements InitializingBean{
private String redirectURL ;
private FujiIntegrationDelegate delegate;
private FujiLoginResponse fujiLoginResponse ;
private FujiLoginRequest request ;
public void setRequest(FujiLoginRequest request)
{ this.request = request; }
> Parameters not set to action when posting JSON
> ----------------------------------------------
>
> Key: WW-4684
> URL: https://issues.apache.org/jira/browse/WW-4684
> Project: Struts 2
> Issue Type: Bug
> Components: Core Actions
> Affects Versions: 2.5.2
> Environment: Windows
> Reporter: COMBEAU
> Assignee: Lukasz Lenart
> Fix For: 2.5.5
>
> Attachments: ActionSample.java, login.jsp, screenshot-1.png,
> struts-2.3.28.xml, struts.properties, struts.xml
>
>
> I have an issue on my webapp since I have update Struts 2 to version 2.5.2
> from 2.3.28.
> When I post a form with parameters via ajax call, on the action class setters
> are not called. All the time the setter and getter return "null" value
> I used Struts2-core and struts2-json-plugin
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)