My applet works fine locally, but after transfering it to my web server, it doesn't work any more. What could the problem be?

John Zukowski

If you used FTP to transfer the files, make sure they were transfered in binary mode. If the web server is a Unix-based system, make sure the owner of the web server process has at least read-access to the files. Make sure filename case was preserved. Foo.class is different than foo.class. Make sure all the support files are present, like image files. Finally, if the applet uses any Java 1.2+ features, you'll need to be using the Java Plug-in to the run the applet. It would have ran fine under appletviewer.

About | Sitemap | Contact