permaculture playing cards
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
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
I agree. Here's the link:
subject: Passing parameter to DispatchAction?
It's not a secret anymore!