HI David, I will explain what I meant. SavePlanProfileAction.java is a action class and not actionform. In the JSP I am using a hidden text field <html:hidden property="regularPlan" value="true"/>
Now I am submitting this JSP to SavePlanProfileAction.java. In the SavePlanProfileAction.java action class I want to get the value of the text field called regularPlan. The important thing is that the ActionForm associated with is called PlanForm.java. In that there is no field called regularPlan. ie, this hidden text field is not there in the ActionForm. So I thought that if I put any text field in the JSP and when I am submitting it will be present in the request attribute. So in the Action class I try to retrieve the value using getRequestAttribute("regularPlan"); This didn't work Regards, Krishna Mohan -----Original Message----- From: Dakota Jack [mailto:[EMAIL PROTECTED] Sent: Saturday, January 08, 2005 1:03 PM To: Struts Users Mailing List Subject: Re: Putting a field into the REQUEST <snip> On Fri, 7 Jan 2005 18:35:44 -0500, David G. Friedman <[EMAIL PROTECTED]> wrote: > The explanation you gave made some things clear. If I understand you > correctly, you have a field in the SavePlanProfileAction.java class that you > want to display in the JSP. </snip> David, he wants to get the hidden value in the Action class: he is processing and not displaying the hidden parameter. He already has the answer from Jim Barrows. Jack -- ------------------------------ "You can lead a horse to water but you cannot make it float on its back." ~Dakota Jack~ "You can't wake a person who is pretending to be asleep." ~Native Proverb~ "Each man is good in His sight. It is not necessary for eagles to be crows." ~Hunkesni (Sitting Bull), Hunkpapa Sioux~ ----------------------------------------------- "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation." --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]