File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

clearing address bar

 
gino mendoza
Greenhorn
Posts: 20
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JSP page that intially displays in the address bar the JSP file name, and parameters.
After displaying the page I want to be able to hide the paramaeteres or clear the address bar.
Can I do this in JSP, or javascript?
I'm trying to prevent users from sending the URL by email to others.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64205
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSP, being a server-side technology, cannot affect the browser controls.
I do not believe that there is a Javascript solution (at least not a standard one), but I'll send this off to the HTML/Javascript forum in case someone knows of a trick that can help you.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can not hide anything in the address bar.
There is a way to use frames to do it, but you would still have that initial link with the parameters in it. Any smart person would know how to get that link out of the frames anyway.
If you really want security, I would rethink it on the server side and avoid using client side technology.
Eric
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic