[4943] in java-interest

home help back first fref pref prev next nref lref last post

showDocument() has problems...

daemon@ATHENA.MIT.EDU (Terence Chr Haddock)
Tue Jan 23 15:39:56 1996

Date: Tue, 23 Jan 1996 14:12:06 -0500 (EST)
From: Terence Chr Haddock <haddock@UDel.Edu>
To: java-interest@java.sun.com


	I have some questions/observations about the showDocument() 
procedure. To being with, I'm using the WinNT version of JDK Beta 2, with 
Netsscape 2.0b6. When I do the command:

	getAppletContext().showDocument(new URL("http://www.anywhere.com"));

	Nothing happens. If I start moving the mouse around, eventually 
the page will appear. It got me thinking that something was up with the 
command queue, messages getting "stuck". So I did this:

	for (int x=0;x<30;x++)
	{
		getAppletContext().showStatus
			("Going to page http://www.anywhere.com");
	}

	This worked! Although, occasionally I notice it still waits for a 
few mouse movements, it pops up much quicker than before. Does anybody 
have an idea of what's going on? You can see the page:
	http://128.175.60.138/java/CalcApplet/testURL.html

	for a more concrete example of the problem. Click on the "Submit 
Me I" for a URL POST to what should be a CGI script, but what is actually a 
redirection to the "hundred_acre_woods" home page here at the U of D. 
When the post receives a "location: " section in the header, it goes to 
the page pointed to by "location". The "Submit Me II" button does not 
have the "workaround" I mentioned above. Watch how long it takes to load.
	Is this a Netscape program, or a JAVA problem? And if it's a 
Netscape problem, is there a mailing list devoted to Netscape Java?

	- Terry

P.S. Anybody know of any mailing lists dedicated to JavaScript? I'm 
interested in using that for form manipulation with Java instead of writing 
the whole form in Java.

	(Let's go for 200 messages a day!)

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    From the E-mail Account of    |    U of D: haddock@udel.edu
                                  | EECIS/ACM: haddock@acm.cis.udel.edu
        Terence C Haddock         |  Del Tech: thaddock@dtelunix.dtcc.edu
       (haddock@udel.edu)         |       WWW: http://acm.cis.udel.edu/~haddock
//---------------------------------------------------------------------------\\
||                                                                           ||
||                               SPACE FOR RENT                              ||
||                                                                           ||
\\=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=//

-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post