Detect when brower moves to a new webpage

Posted on 2003-03-01
Medium Priority
Last Modified: 2010-03-31
Is there an event that I can listen for in a java applet that can tell me when a user moves to another webpage and retrieve the full url?

Thank you,

Question by:ahermes
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
  • 2
LVL 92

Expert Comment

ID: 8050557
Your stop() method will be called when the user goes to another page. But there is no way to know what page they have gone to.

Accepted Solution

Ajar earned 150 total points
ID: 8050628
Aherms .. There should be no way for the java applet to know the next link that you are browsing as it would be a security breach..

Author Comment

ID: 8050969
Not the answer I was hoping for, but it keeps me from searching further.  Thank you Ajar.  I'm trying to develop a coBrowser (Two web browsers that will send each other their current url) for a class I am taking.  Maybe the applet is not the way to go.  Should I be making an application instead?
LVL 92

Expert Comment

ID: 8053975
Whats the difference between that answer and the one I gave???

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses
Course of the Month8 days, 18 hours left to enroll

764 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