wood burning stoves
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
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 ...so 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: http://aspose.com/file-tools
subject: Query String
jQuery in Action, 3rd edition