Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

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

0
Posted

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

0

Location: http://www.jguru.com/faq/view.jsp?EID=507354 Created: Sep 30, 2001 Author: John Zukowski (http://www.jguru.com/guru/viewbio.jsp?EID=7) Question originally posed by Jai Ganesh M (http://www.jguru.com/guru/viewbio.jsp?EID=490975 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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123