This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "dispatcher action" Watch "dispatcher action" New topic

dispatcher action

siva gutti

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..

I agree. Here's the link:
subject: dispatcher action
Similar Threads
Help needed on Map Backed Action Form
What is the motivation to use filters in a struts application
requestDispatcher.forward() throws error when forwarded to #topic
dispatcher Vs action dispatcher
Request Dispatcher problem