System.out.println() cannot work i guess since, this is an applet embedded in a jsp page .., if i try to write a message to a textarea in the applet, when the stop() method is called how can i see it, since the page would have already changed ? will other browsers be able to see the change affected by the first one ? simply how can i check if the stop method of applet is being called when user leaves the page ? thanks
Both IE and Netscape allow you to enable a java console that (among other things) captures stdout. If you put System.out.println("FOO"); in the stop() method you should see the FOO in the java console. I'm not sure how to turn the console on in Netscape but in IE its under Tools->Internet Options-> advanced->Microsoft VM-> Java Console Enabled (Requires Restart) To view the java console in IE once the page that has the applet is loaded in the System tray of Windows double click on the JAVA Icon (Its either Duke or the Coffee Cup picture). Hope this helps. [ August 05, 2002: Message edited by: Heath Lilley ]
I can't renounce my name. It's on all my stationery! And hinted in this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!