Solved

is that possible avoid to the url address in the browser showing the parameters when using JSTL tag <c:url> ?

Posted on 2004-09-13
7
241 Views
Last Modified: 2006-11-17
I need some values pass to next page when clicked the link. but I don't want the url address in the browser showing the parameters. Right now i am using jstl tag <c:url> for the url rewrite.  But i am not sure how to avoid showing the parameters. or is there any way to do it other than url rewrite?
0
Comment
Question by:jeff1919
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 5

Expert Comment

by:ITcrow
ID: 12051613

If one has to do all the hiding in link itself, here is how it can be done.

<a href="http://some_domain/someurl.html?whatever"
onMouseOver="window.status='http://nothing_visible_on_mouseover'; return true"
onclick="window.status='http://nothing_visible_on_click'; return true;"
onfocus="window.status='http://nothing_visible_on_focus'; return true;"
onMouseOut="window.status=''; return true">Some Url</a>
0
 
LVL 4

Expert Comment

by:Zonebit
ID: 12059582
Try changine your form tag to read something along the lines of:

<form method="post" action="<your page>" ... />
0
 

Author Comment

by:jeff1919
ID: 12059792
i am not using form.
0
 
LVL 1

Accepted Solution

by:
Alexmipego earned 250 total points
ID: 12079406
Why are you hiding the parampters? If it is to avoid people to change them you can write a cookie with something like:
link1: domain/page.ext?ddf=3324&dfsdf=34342
link2: domain/page.ext?ddf=3324&dfsdf=343dsdfsdf42

and just point the links into a page like redirector.asp?link=2
then the redirector would redirect to the page referenced in the cookie. also to increase security you can use a session variable.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question