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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cordova Camera plugin fails 2 120
remove background quote mark from widget 6 53
Excel Hyperlink Question 4 50
Accurate Analytics (Not Google) 2 41
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.
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
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…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

809 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