A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Sep 26, 2005
Oct 03, 2005 00:20:00
How to call a method in dispatchaction from to
Joined: Sep 28, 2005
Oct 03, 2005 01:34:00
You have to add a paramater which will define the name of the method you want to call.
The name of the paramater is defined in your struts-config.xml, (attribute "paramater" of your action's definition).
For exemple if your parameter is named "method" and if you want to call "myMethod" in "myAction", try :
Regards,<br />Seb<br /> <br />SCJP 1.4
subject: dispatch action
action called two times
Name of Dispatch
Struts - Cannot find bean in any scope
Different INPUT.jsp in DispatchAction
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015