Have you tried having your Applet tell the browser to load a specific page?
The page would look something like
<html><title>useful debug message</title>
<body onLoad="window.history.back(2)">
Please wait while page loads ...
</body></html>

It's not browser specific and will work on ie3/4/5 and netscape.

Thor HW
----- Original Message -----
From: Simonin, Bradley <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 13, 1999 2:47 PM
Subject: Applet to Servlet communication and then execute JavaScript.


> Hello all,
>
> I have a Java Applet that communicates bi-directionally with a Java
Servlet.
> When the user of the Applet clicks the Applet Quit button, I would like to
> execute some JavaScript to move the user back several HTML pages in the
> browser history using JavaScript.  Example: window.history.back(1).  Is
> there anyway I can get a Java Applet to execute this JavaScript after the
> following Applet Frame Code:
>
> setVisible(false);
> dispose();
> System.exit(0);
>
> Any suggestions?  Thanks in advance,
>
> Brad Simonin
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to