Are there any restrictions placed on applets loaded from HTML pages generated from servlets / JSP pages?

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.
About | Sitemap | Contact
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.