Hi, Thanks you for your advice. Yes, as you said it was design problem, after sometime we realized that it is design problem and we changed the design. Now we achieved the functionality what we wanted to achieve.
Have a nice day Regards, Uday -----Original Message----- From: Wayne Fuller [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 5:50 PM To: Struts Users Mailing List Subject: Re: Problem in Action Class Uday wrote: > Hi, > > I have one action class which extends org.apache.struts.action.Action. > I have one more action class and its ActionForm class. >>From the first action class i want to invoke method of second ActionForm > class. > How do i get the reference of second ActionForm class from the first Action > class. > > > Have a nice day > > Regards, > Uday > Sounds like a design problem. An ActionForm should only be the values that a developer cares about from an html form. This should not be part of your business objects. My suggestion would be to design exactly what you need business wise, and don't even design Struts into the mix until that is rock solid. Then use Struts as just the front end to the jsp pages. So the short answer is you shouldn't do what you are trying to do. Wayne -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

