My applet runs fine with appletviewer but not in the browser, what can be the problem?

John Zukowski

Applets loaded through appletviewer are more then likely loading their classes from the local CLASSPATH, not over the network. As such, they get different permissions and can do things that applets loaded over the network cannot. Try using Tomcat and serving the Applet through an HTTP connection, instead of loading the .HTML file from the file system.

Also, Java runtimes in browsers are based on Java 1.1.x. If you need to use newer capabilities, you'll need to use the Java Plug-in. Without it, you're stuck with the older Java runtime capabilities.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact