Win a copy of Mesos in Action this week in the Cloud/Virtualizaton 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