A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Java
»
JSP
Author
Query String
Sruthi Sen
Greenhorn
Joined: Dec 20, 2005
Posts: 22
posted
May 02, 2006 00:43:00
0
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..
sruthi
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
I like...
posted
May 02, 2006 07:59:00
0
There are two types of requests that send parameters to the server.
POST and GET.
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
posted
May 02, 2006 09:44:00
0
Create a form with out any buttons.
Submit this thru
java
script. You can easily use POST
Sarath Mohan
Sruthi Sen
Greenhorn
Joined: Dec 20, 2005
Posts: 22
posted
May 03, 2006 00:42:00
0
thank you...mohan....
got solution :-)
sruthi
I agree. Here's the link:
http://aspose.com/file-tools
subject: Query String
Similar Threads
Partly invisible address
hide parameters on url jsp
problem in paging using javascript
parameter passing with href
Run the MethodeBean & display the fields that corresponds to selectMenu
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter