struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Cavagnolo <jer...@paradoxcomponents.com>
Subject Re: Problem in Action Class
Date Fri, 24 Jan 2003 18:56:54 GMT
Uday:

One way to solve your problem would be to create the ActionForm instance
in the first Action, call the method on this new instance, then add the
ActionForm instance to your request (or session, depending on how you
set things up in the struts-config file) with the appropriate key.  Then
the second action will be able to find this instance that you created.

-Jeremy




On Thu, 2003-01-23 at 23:14, 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
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>



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


Mime
View raw message