This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes 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

 
Consider Paul's rocket mass heater.
 
subject: Struts2 : How to pass parameter in query string on click of hyperlink