|
Subject:
|
Masking parameter values within url.
|
|
Posted By:
|
aguivera
|
Post Date:
|
8/10/2006 9:12:54 AM
|
I'm new to jsp and need to figure out how to mask parameters within a url.
I'm creating a simple page requiring passing several parameters through a url. I don't want to show the parameters in the url but would like to redefine them in an include that will be used across the board as a disclaimer for leaving my site. I guess the code would do something like pass the parameters through the url so if for instance my url was http://www.website.com/test.jsp?url=hawaii, I could post to a page that would have out.print of http://www.hawaii.gov for url=hawaii?
|
|
Reply By:
|
panacea
|
Reply Date:
|
8/16/2006 3:12:03 AM
|
Would cookies work for you? Or POSTing the query parameters to the URL rather than using a GET?
Jon Emerson http://www.jonemerson.net/
|
|
Reply By:
|
aguivera
|
Reply Date:
|
8/18/2006 2:02:47 PM
|
Thanks but cookies would not work for me and I'm passing the parameters through the url now. What I want to do is mask those paremeters now.
|
|
Reply By:
|
panacea
|
Reply Date:
|
8/21/2006 4:20:13 PM
|
What about a POST?
Jon Emerson http://www.jonemerson.net/
|
|
Reply By:
|
aguivera
|
Reply Date:
|
8/22/2006 1:18:18 PM
|
I think Post would work. In using Post, would I be required to create something similar to a form?
|
|
Reply By:
|
elishae
|
Reply Date:
|
8/29/2006 9:17:32 AM
|
yup. you need to create a form
<form method="post">
....
</form>
|