This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Struts and the fly likes Call Action Class Using Anchor Tag Without showing parameter list in address bar of the browser Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Call Action Class Using Anchor Tag Without showing parameter list in address bar of the browser " Watch "Call Action Class Using Anchor Tag Without showing parameter list in address bar of the browser " New topic
Author

Call Action Class Using Anchor Tag Without showing parameter list in address bar of the browser

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 744
Hi,

Is it possibe to call an action class on click of the action class ?

If it is possble then how do we pass parameters to action class ?


Jigar Naik


David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

If the goal is to pass parameters via a link there aren't too many options: put them in the URL, have them already in session, or possibly use Ajax depending on your requirements. If you use Ajax they'll still be visible if the user is using a proxy, Firebug, etc.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Call Action Class Using Anchor Tag Without showing parameter list in address bar of the browser
 
Similar Threads
doPost() not happening
Can i call action class getRedirectUrl() method from another class?
Action in Action
can I call an action inside my action?
struts1