This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
s mahen perera
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 354
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://struts.apache.org/api/org/apache/struts/action/Action.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic