For Programmers: Free Programming Magazines  


Home > Archive > Java Help > July 2004 > How can I make my applet call another Web page?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How can I make my applet call another Web page?
S. Garland

2004-07-28, 9:09 pm

Hi All,

Would anyone know a way to have an applet call another Web page so
that, after the new page is loaded, if I hit the back button then I go
back to the page where the applet is at?

I don't need to know about button action events or about layout
managers or anything like that, just the URL processing code, or a
good reference.

Thank you,

S.
Andrew Thompson

2004-07-28, 9:09 pm

On 28 Jul 2004 08:35:22 -0700, S. Garland wrote:

> Would anyone know a way to have an applet call another Web page


getAppletContext().showDocument(
"http://www.physci.org/codes/", "_blank" );

>...so
> that, after the new page is loaded, if I hit the back button then I go
> back to the page where the applet is at?


<http://www.physci.org/kbd.jsp?key=bkspc>

HTH

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Tor Iver Wilhelmsen

2004-07-28, 9:09 pm

s_garland@hotmail.com (S. Garland) writes:

> Would anyone know a way to have an applet call another Web page so
> that, after the new page is loaded, if I hit the back button then I go
> back to the page where the applet is at?


getAppletContext().showDocument(url);
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com