A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCM Java EE 6 Enterprise Architect Exam Guide
this week in the
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
rocket mass heater
subject: dispatch action
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014