File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
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: 753
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
Can i call action class getRedirectUrl() method from another class?
struts1
Action in Action
can I call an action inside my action?
doPost() not happening