Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts2 : How to pass parameter in query string on click of hyperlink