Are there any restrictions placed on applets loaded from HTML pages generated from servlets / JSP pages?
Created May 7, 2012
John Zukowski It is good practice to include the CODEBASE attribute in the APPLET tag and specify a directory other then the servlet directory for storing the applet-related classes. For example:
out.println(<"APPLET CODE=Foo.class CODEBASE=/applets WIDTH=400 HEIGHT=400">);Some Web servers think that all classes loaded from the servlets directory are automatically servlets, thus causing the applet not to load.