Blank Java box ?!
Hi i have just downloaded an applet drawn up an html page and posted it all to my web server IIS4, running my IE6 all i see is a grey box with nothing happening what am i doing wrong??
try replacing the XXX.class file name and the archive YYY.jar spec (if used, otherwise remove) and serve it up again.
lookup the HTMLConverter.
WIDTH = 400 HEIGHT = 300 codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0">
<param NAME = CODE VALUE ="XXX.class" >
<param NAME = ARCHIVE VALUE ="YYY.jar" >
<param NAME="type" VALUE="application/x-java-applet;version=1.3">
<param NAME="scriptable" VALUE="false">
<embed type="application/x-java-applet;version=1.3" CODE ="XXX.class" ARCHIVE ="YYY.jar" WIDTH = 400 HEIGHT = 300 scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3/plugin-install.html"><noembed></COMMENT>
The applet has crashed on something.
This could be a number of things: such as you forgot to upload one or more class or jar files, the applet is misconfigured (and there is no system in the applet to catch misconfiguration), the applet has a bug, ....
The way to find out what the problem is, is by opening the Java Console.
You can open the Java Console in I.E. by going to extra =>internet options => advanced => Microsoft VM => enable Java Console. And then doing view => Java Console.
Have you downloaded plug in's and activated it. Have you HTML converted your web page-http://java.sun.com/products/plugin/1.3/docs/htmlconv.html#install . It has a bug too-broken link.
Javac will produce filename that has $ sign in it will not be accepted by web host machines as a valid filename. So U need a jar files to trick it. To confuse more, Java console is not your window.
I found the hard way-Java learning curve and now found that Java is not supported by any browsers.they need plug in as any other language. Java belongs to relic.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL