Hello.
I am getting this error when I am trying to call a Action which has extended a DispatchAction.
Request[/admin] does not contain handler parameter named action.
Request[/admin] does not contain handler parameter named action
Is this your comlete Actionclass AdminAction ? I think you missed the declare and implement the method called "action" as specified in "parameter" attribute in action tag.
I don't know if this is causing the problem you're currently experiencing or not, but one should never use the name action for the parameter used in DispatchAction. The reason for this is that in HTML, a FORM has an action parameter, which is the URL to be executed when the form is submitted. Therefore, having an input element named "action" can confuse things and cause strange errors. Use some other name such as "actionMethod".
Thank you everybody for your ideaes.
I found the problem.
I use the dispatchMethod to dispatch to the specified method(menuList method of AdminAction class)at this program and everythings is ok now.
dispatchMethod is in the AdminAction class too.
If you are using a wood chipper, you are doing it wrong. Even on this tiny ad:
a bit of art, as a gift, that will fit in a stocking