This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Struts and the fly likes dispatcher action Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "dispatcher action" Watch "dispatcher action" New topic
Author

dispatcher action

siva gutti
Greenhorn

Joined: Aug 01, 2010
Posts: 1
can a dispatcher action forwards a request to other dispatcher action ?
explain with sample code
Prakash Mani - Attur
Ranch Hand

Joined: Oct 08, 2009
Posts: 100
ya you can forward to any action using ForwardAction class..

make your default action forwards to another action which has type parameter as 'org.apache.struts.actions.ForwardAction' and the parameter attribute as your next 'DispatchAction'.. see for the sample here..

 
Don't get me started about those stupid light bulbs.
 
subject: dispatcher action