This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance 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