This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Pass parameter with hyperlink click without showing parameter details in url Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Pass parameter with hyperlink click without showing parameter details in url" Watch "Pass parameter with hyperlink click without showing parameter details in url" New topic
Author

Pass parameter with hyperlink click without showing parameter details in url

Mittal Swati
Greenhorn

Joined: Mar 04, 2013
Posts: 2
Hi,

My servlet have some jsp code... there are multiple hyper link inside while loop.... for each hyperlink i want to send some parameter ....
I am using below given code for this... but i don't want to append parameter info with url... for single link i can set it in request or session but there are multiple links and parameter value will depend upon he link selected...

How i can change it without showing parameter details in url to send respective filter id only....
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60822
    
  65

Firstly, that's not "JSP code"; it's simply HTML.

Secondly, get over your fear of parameters. They will be on the URL -- so what?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
jQuery in Action, 2nd edition
 
subject: Pass parameter with hyperlink click without showing parameter details in url
 
Similar Threads
how to create summary and detail table
How to send email
how to send parameter in <html:link> tag
Parameter Passing through <html:link> tag
method in dispatch action is executing more than once