Thanks for the suggestion Taylor, and yes I might follow that...

In any case I just wanted to make sure that Struts itself does not 
provide any handle to Action instances !?

thanks again

lirian


----- Original Message -----
From: "Taylor Cowan" <[EMAIL PROTECTED]>
Date: Sunday, December 29, 2002 6:23 pm
Subject: Re: How to get a reference to an Action instance

> Action instances, like servlets, usually do not maintain state by 
> usingmember variables.  Thus most invokations of their methods do 
> not depend upon
> a particular instance, so you may just instantiate the action and 
> invoke its
> methods.  Of course, using the pooled instances maintained by 
> struts would
> be better performance wise.
> 
> Taylor
> 
> ----- Original Message -----
> From: "Lirian Ostrovica" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Sunday, December 29, 2002 11:09 AM
> Subject: How to get a reference to an Action instance
> 
> 
> > Hi,
> >
> > I need to access an Action instance (I have its class name) while
> > writting a Tag.
> >
> > I have seen that ActionServlet stores Action instances in a 
> 'protected'> variable (FastHashMap), and so far the only way I can 
> see, is to extend
> > ActionServlet and write my own 'public' method to do the job.
> > But of course I do not prefer to extend ActionServlet just for 
> that...>
> > If there is any other way, can someone please let me know
> >
> > thanks a lot
> >
> > lirian
> >
> >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:struts-user-
> [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]>

Reply via email to