This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Applets and the fly likes JApplet, Tomcat & Linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "JApplet, Tomcat & Linux" Watch "JApplet, Tomcat & Linux" New topic

JApplet, Tomcat & Linux

wayne hitchcock

Joined: Dec 22, 2003
Posts: 8
My JApplet is to be used as the front end to a database. They are both on the same server. The server is a Linux box running Tomcat 4. The class files that make up the JApplet are in the same directory as the html file.
The directory is located in Tomcat's webapp directory. The applet tag in the html file includes codebase="." (I've also tried exact path and removing codebase - isn't it supposed to default to the directory containing the html file?)
The applet will run if I double click the html file, but it won't connect to the database. This I understand, but when I type http://localhost:8080/malott_project/main.html into the address bar the applet won't load. The java console says it cannot find the applet class.
What I don't understand is that this works on my Windows platform. It needs to run off the Linux box. Any suggestions as to why it will work on Windows, but not Linux?
Don't get me started about those stupid light bulbs.
subject: JApplet, Tomcat & Linux
Similar Threads
Applet not shown in Eclipse internal browser.
simple applet won't run
Running self made Servlets on tomcat
TOMCAT - Where to put GIFs for HTML Pages ?
Tomcat, JSP and Applet