• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

From Struts2: When an ActionContext Object is created?

 
Chinmaya Chowdary
Ranch Hand
Posts: 432
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can you please explain, when a request comes to the server, at which stage 'ActionContext' Object will be available, i.e when Struts2 framework creates this object? Thankyou.
 
Chinmaya Chowdary
Ranch Hand
Posts: 432
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help on this or provide related link. Thankyou.
 
Chinmaya Chowdary
Ranch Hand
Posts: 432
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I came to know that framework creates the ActionContext object during server/container startup and makes a pool. When a request comes, framework gets the ActionContext from the pool, creates ThreadLocal object and sets ActionContext object upon it. Is it true or it follows another approach? Please reply. Thankyou.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic