A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Frameworks
»
Struts
Author
Dispatch action doubt
amrut sabade
Ranch Hand
Joined: Aug 16, 2010
Posts: 90
posted
Aug 20, 2010 04:29:08
0
hi hi am new to
java
today i read the concept of DispatchAction class in
struts
.. i have one doubt that how parameters are passed to the class? please clearify my doubt
thanks in advance....
Sriram Ture
Greenhorn
Joined: Aug 20, 2010
Posts: 23
posted
Aug 20, 2010 06:57:08
0
Hi,
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.
Regards,
Sriram
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
I like...
posted
Aug 20, 2010 07:08:50
0
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:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: Dispatch action doubt
Similar Threads
Doubt
doubt
A doubt
doubt!!!
Doubt it or not?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter