This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes Struts and the fly likes Who is responsible to create Action object? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Who is responsible to create Action object?" Watch "Who is responsible to create Action object?" New topic
Author

Who is responsible to create Action object?

sarada bokka
Ranch Hand

Joined: Jan 13, 2010
Posts: 80
Hi All,

As per struts1 it's responsible of AtionServelt to create Action objects.

Is that filterDispacter responsible for creating action object in struts2??
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

It kicks off the action creation process, but the actual *creation* is handled by whatever object factory in use (a version of Guice by default, or Spring, or...)
 
Consider Paul's rocket mass heater.
 
subject: Who is responsible to create Action object?