This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes Dispatch action doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Dispatch action doubt" Watch "Dispatch action doubt" New topic

Dispatch action doubt

amrut sabade
Ranch Hand

Joined: Aug 16, 2010
Posts: 90
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

Joined: Aug 20, 2010
Posts: 23

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.

David Newton

Joined: Sep 29, 2008
Posts: 12617

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.
Have you checked out Aspose?
subject: Dispatch action doubt
It's not a secret anymore!