[5542] in java-interest
Re: URL jumping in Java (fwd)
daemon@ATHENA.MIT.EDU (Brian D. Elliott)
Thu Feb 15 16:13:54 1996
Date: Thu, 15 Feb 1996 11:51:52 -0800 (PST)
From: "Brian D. Elliott" <belliott@world.nad.northrop.com>
To: java-interest@java.sun.com
I am having a similar problem. I have different levels of maps. The first
one is the world. When the user picks on North America I call:
getAppletContext().showDocument(myURL);
to go to an HTML doc with a java applet showing North America. The
Netscape browser executes the North America applet ok(I see a ref to my
applet in the status window), but the gif of North America does not show up!
This sounds very similar to the message below. I have also tried adding
a start method at Jennifer's suggestion, but that doesn't work either.
Does anybody have any ideas?
Brian Elliott
=========================================================================
Brian Elliott | 310-948-6863
Northrop Grumman Corp. |
belliott@world.nad.northrop.com |
=========================================================================
On Wed, 31 Jan 1996, Jennifer Lautenschlager wrote:
> Once upon a time, I (jlauten@east.isx.com) wrote:
> > [...deletia...]
> > This all works fine, as long as the Web browser is on the page that this
> > applet was first launched off of. I click button A, and web page A comes
> > up. I click button B, though, and nothing happens. What's interesting is
> > that I can use the Back key to move back to the applet's original page,
> > click button B, and then web page B will come up. It seems like I can only
> > get an applet context to do this if I'm on the applet's original page.
> > Does anyone have any clues why this is?
> I thought I'd followup on my own question. :-)
>
> A couple of people have written me, describing similar problems. I gave up
> and played around with it a little this morning, and as near as I can tell
> the problem comes when the page that defines and loads the URL is not
> currently up in the browser. Even if I save out the Applet, even if I save
> out the AppletContext, I can't load a page if the <applet> page isn't up.
> I don't think it's a matter of the Applet stopping, either, as I can still
> manipulate things in the applet GUI that's running in its own window.
>
> I'm not sure if this is a bug or a feature, but I've worked around it using
> Netscape frames. What I wanted in my applet was for help pages to load up in
> the browser, in response to requests from the applet; it's a larger
> application, so there's a web of help pages. What I ended up doing was using
> the frame feature, and dividing the page up into two frames: the top frame
> has a small, graphical header, and the bottom frame is a named frame that
> takes up the majority of the browser. The applet is loaded in the top frame,
> which is constantly on the screen. The help pages are loaded into the
> bottom frame as requested.
> This is almost what I wanted, an acceptable workaround for me. If anyone
> figures out a way to do it without frames, or determines whether or not
> this is a bug or a feature, please let me know.
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com