This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 60766
    
  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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
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