Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Creating an instance of an action a class

chamal desilva

2007-01-26

Replies:

Hi,


Is it safe to create an instance of a action class in
another action class and use.

For example ..

public NewAction extends Action
{
 public ActionForward execute (....)
 {

     OtherAction oact = new OtherAction();
     oact.execute(....);
 }

}




Thanking you,
Chamal.



____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.