A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Dispatch action doubt
Joined: Aug 16, 2010
Aug 20, 2010 04:29:08
hi hi am new to
today i read the concept of DispatchAction class in
.. i have one doubt that how parameters are passed to the class? please clearify my doubt
thanks in advance....
Joined: Aug 20, 2010
Aug 20, 2010 06:57:08
Specify an attribute named parameter="method or methodName or anything" in action tag
And attach method to your url like url?method=yourmethodName in dispatch action class.
Joined: Sep 29, 2008
Aug 20, 2010 07:08:50
You're new to Java, and learning Struts? Learn Java first, *then* Struts.
They're sent to the action just like everything else, as a request parameter.
I agree. Here's the link:
subject: Dispatch action doubt
Doubt it or not?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015