Hi,
You cannot have two action forms associated with one action. I suggest
you use nested beans in your action form.

HTH.

Thanks and Regards,
S.Ramkumar
Associate Consultant - Investment Banking
PrimeSourcing(tm)   "Add Value Reduce Risk"
i-flex solutions limited, Bangalore
Ph:+ 91-80- 22086000/57596000- extn 6873
E-Mail:[EMAIL PROTECTED]

-----Original Message-----
From: Lakshmi Saritha [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 06, 2006 2:02 PM
To: Struts Users Mailing List
Subject: Re: Struts newbee

Hi Praveen,
   
  Hope you are doing well... I want to share something regarding your
question. 
Generally, the Action.perform() method takes only a single form bean as
a parameter(of course, it takes 4 parameters:
ActionForm,ActionMapping,HttpServletRequest,HttpServletResponse).
  So, surely we can't provide two formbeans for the action.
   But if your want to acheive that, you can use nest beans. That means,
you can create object for one bean in other bean class and use it. 
   
  According to my knowledge, I'm thinking so. Any how, check it  out
with others too.
   
  Take care. Have a nice time. Bye...
   
  Thanks,
  Saritha
[EMAIL PROTECTED] wrote:
  Hi ,

I am new to struts.. although i have a couple of years experience in 
java/j2ee.
i have a question. Can two ActionForms be associated with the same
Action 
class ..
if yes how.


Regards,
Praveen 


Notice: The information contained in this e-mail message and/or
attachments to it may contain confidential or privileged information. If
you are not the intended recipient, any dissemination, use, review,
distribution, printing or copying of the information contained in this
e-mail message and/or attachments to it are strictly prohibited. If you
have received this communication in error, please notify us by reply
e-mail or telephone and immediately and permanently delete the message
and any attachments. Thank you



                
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great
rates starting at 1¢/min.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to