It looks like your Applet is doing XML parsing. If so, then what happens is that Java is looking for an XML parser (with getClass (). GetResource (...)), and as the path of your applet it will execute an HTTP request to your server.
To prevent this, you can define the XML parser in the init method of your applet with
Class.forName("com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"); System.setProperty("javax.xml.parsers.DocumentBuilderFactory", "com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl");
Since Java6u10 you also have the option to remove the path of your applet from the class path (but not the applet) with
<APPLET ...> <PARAM name="codebase_lookup" value="false"> </APPLET>
Anthony
source share