You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ar...@cognizant.com on 2011/08/04 09:33:13 UTC

Struts Action Form bean population problem

Hi Friends,

 

I am having a strange problem. I am sending a post request to a struts
action. The action class is associated with a actionform. But the
problem is those values is not getting populated in the form. I have
followed the correct bean spec and we are getting the values from
request parameter in action form. Not sure why it is not populating the
action form.

 

Thanks,

Arnab Ghosh 


This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful.

RE: Struts Action Form bean population problem

Posted by "Mahamuni, Prashant X" <pr...@jpmorgan.com>.
Please make sure that you have getter setters in the action class.

-----Original Message-----
From: Arnab.Ghosh6@cognizant.com [mailto:Arnab.Ghosh6@cognizant.com] 
Sent: Thursday, August 04, 2011 2:33 AM
To: user@struts.apache.org
Subject: Struts Action Form bean population problem

Hi Friends,

 

I am having a strange problem. I am sending a post request to a struts
action. The action class is associated with a actionform. But the
problem is those values is not getting populated in the form. I have
followed the correct bean spec and we are getting the values from
request parameter in action form. Not sure why it is not populating the
action form.

 

Thanks,

Arnab Ghosh 


This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful.
This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.  

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Struts Action Form bean population problem

Posted by Dave Newton <da...@gmail.com>.
On Thu, Aug 4, 2011 at 3:33 AM,  <Ar...@cognizant.com> wrote:
> Not sure why it is not populating the action form.

Without any further information it's impossible to help.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org