This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
The moose likes Struts and the fly likes Passing parameter to DispatchAction? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Passing parameter to DispatchAction?" Watch "Passing parameter to DispatchAction?" New topic

Passing parameter to DispatchAction?

john mattucci
Ranch Hand

Joined: Nov 03, 2000
Posts: 331
I want to forward to a DispatchAction , but I dont know how to pass the name of the method to execute inside the DipatchAction.
I do something like
but how would I set it to

'method' is the parameter name of the DispatchAction that must have the method name of the DispatchAction to execute
Thank you all
Srikanth Shenoy
Ranch Hand

Joined: Jan 24, 2004
Posts: 184
Hi John,
While I dont want to bore you with explanation of the DispatchAction, I suggest that you look at explanation for DispatchAction in the following sample: All About Actions
If you still have questions after reading the article, I am happy to answer any of them.
Author: Struts Survival Guide - Basics to Best Practices

Srikanth Shenoy
Author of Struts Survival Guide : Basics to Best Practices
Have you tried LearnNowOnline?
subject: Passing parameter to DispatchAction?