aspose file tools*
The moose likes Struts and the fly likes From Struts2: When an ActionContext Object is created? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "From Struts2: When an ActionContext Object is created?" Watch "From Struts2: When an ActionContext Object is created?" New topic
Author

From Struts2: When an ActionContext Object is created?

Chinmaya Chowdary
Ranch Hand

Joined: Apr 21, 2008
Posts: 432
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

Joined: Apr 21, 2008
Posts: 432
Please help on this or provide related link. Thankyou.
Chinmaya Chowdary
Ranch Hand

Joined: Apr 21, 2008
Posts: 432
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: From Struts2: When an ActionContext Object is created?
 
Similar Threads
Struts2: Different ways to use session
struts2
does a new action context created for every new action in struts2
Session Object in struts2
validation in struts2