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 JSP and the fly likes Query String 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 » JSP
Bookmark "Query String" Watch "Query String" New topic

Query String

Sruthi Sen

Joined: Dec 20, 2005
Posts: 22
hi friends....

can any body tell me how to hide the querystring parameters in the URL specified in anchor tag..

i cannot place a sumbit button in the jsp page that i can specify
method=post in the form tag and hide the parameters...

plzz give anyother way if not anchar tag..

Ben Souther

Joined: Dec 11, 2004
Posts: 13410

There are two types of requests that send parameters to the server.
If you can't generate a POST request, then you're going to have the query string variables in the url.

Why can't you use POST?

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Sarath Mohan
Ranch Hand

Joined: Mar 17, 2001
Posts: 213
Create a form with out any buttons.
Submit this thru java script. You can easily use POST

Sarath Mohan
Sruthi Sen

Joined: Dec 20, 2005
Posts: 22
thank you...mohan....

got solution :-)

I agree. Here's the link:
subject: Query String
Similar Threads
hide parameters on url jsp
Partly invisible address
Run the MethodeBean & display the fields that corresponds to selectMenu
problem in paging using javascript
parameter passing with href