This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

dispatcher action

 
siva gutti
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can a dispatcher action forwards a request to other dispatcher action ?
explain with sample code
 
Prakash Mani - Attur
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic