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
236 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
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

762 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now