This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 2- Unable to figure out the concept of ActionContext object creation

 
Eshan Kapoor
Ranch Hand
Posts: 39
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Struts 2 processing of each request occurs in a single thread. The ActionContext is thread local which means that values stored in the ActionContext are unique per thread. So is it true that a new ActionContext object is created per request which has its own ValueStack? Say after a request is served and a new request is fired, will the old ActionContext object and its ValueStack be destroyed and a new object be created with its own ValueStack?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic