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 the JSP history

 
Shaik Vali
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all Good Morning

I would like the clear the history of html pages in JSP , how cam I do that please give the solution.

Thanks
 
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 runs on the server and cannot perform client-side tasks.

I'd move this to the HTML/JavaScript forum, but you can't do it with JavaScript either. The browser history is not part of your web app and you have no business trying to muck with it or any other of the user's browser data. As such, there is no means provided for you to be able to do this.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11833
181
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am probably not understanding your question.

What I think you are asking for, is if:
  • I visit Hotmail
  • Then I visit JavaRanch
  • Then I visit your JSP page, my history of having been to Hotmail and JavaRanch will both be deleted.
  • Is that correct?

    If so, why would you want to do this?

    Regards, Andrew
     
    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
    Perhaps if you tell us what you are actually trying to accomplish, someone could suggest a way to achieve it that's actually possible.
     
    I agree. Here's the link: http://aspose.com/file-tools
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic