This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Action class constructor - is it called every time ,,,,,, Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Action class constructor - is it called every time ,,,,,," Watch "Action class constructor - is it called every time ,,,,,," New topic
Author

Action class constructor - is it called every time ,,,,,,

s mahen perera
Ranch Hand

Joined: Mar 08, 2005
Posts: 101
Hi all

I want to know whether the Action class constructor is called every before the execute method is called when a request come to a Action class.
In otherwords,,, is the same action class instance used for all request? or execute methods of different instances of the action class are called for each request?

Thanks
alan do
Ranch Hand

Joined: Apr 14, 2005
Posts: 354
http://struts.apache.org/api/org/apache/struts/action/Action.html


-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>
 
 
subject: Action class constructor - is it called every time ,,,,,,
 
Similar Threads
How to Check Session in Controller
Action class execute method not getting called
How Is The Action Class Called??
call super class constructor
Test your knowledge