I have an applet that goes through another Java class to communicate with a database. Everything works perfectly when it runs from the local file system (c:\applet.html). But when I run it in Tomcat ( it opens the applet, but no data is fetched from the database. It seems like a Tomcat problem to me. Any suggestions are appreciated.