This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts2 : How to pass parameter in query string on click of hyperlink Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 : How to pass parameter in query string on click of hyperlink" Watch "Struts2 : How to pass parameter in query string on click of hyperlink" New topic
Author

Struts2 : How to pass parameter in query string on click of hyperlink

Sakthi Priya
Greenhorn

Joined: Apr 02, 2009
Posts: 26
Could anyone please let me know how to pass parameter(s) in query string to the action class when i click on a hyperlink in Struts 2
like


I tried as <a href='searchOrg.action?searchText="A"'>A</a> but it seems its not the correct one.

Please help.

Thanks
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

 
GeeCON Prague 2014
 
subject: Struts2 : How to pass parameter in query string on click of hyperlink