Dear Friends, When i use the fn System.out.Println to display a message, in an applet based program, if i run the applet from the appletviewer, it shows the output on the console window(dos prompt). But, if i run the same applet thru a browser, no output comes on the console window. why so? can anyone pl. help? regards, dharini
The browser doesn't have anything to do with the 'console' window, so you won't get any output there from an applet. You might get if from viewing the java console (View->Java console in IE), I'm not sure.
You started the appletviewer from the console window, therefore there is a relationship between the appletviewer and the console window, ie, the console window is the receiver of the appletviewer's stdout. But most likely you didn't start the browser thru the console window so that connection isn't there.
Hi Dharini, Grant is on the right track. When using a browser, you can view the output of System.out.println() using the Java console. If you are using Netscape, go to the Communicator menu and select Tools - Java Console. If you are using IE, go to the View menu and select Java Console. Hope this helps. Stephanie