DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5098>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5098 anonymous and internal classes not found ------- Additional Comments From [EMAIL PROTECTED] 2001-11-26 17:11 ------- I tried to create a test servlet to reproduce the problem. I added this to the servlet: try { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance (); DocumentBuilder db = dbf.newDocumentBuilder(); db.setEntityResolver(new EntityResolver() { public InputSource resolveEntity(String publicId, String systemId) { if (systemId.indexOf("web-app_2_3.dtd") >= 0) { return new InputSource("c:\\j2sdkee1.3 \\conf\\web-app_2_3.dtd"); } else { return new InputSource(systemId); } } }); } catch (Throwable t) { t.printStackTrace(); } System.out.println("OK"); My servlet class is "S3". The compiler creates a "S3$1" class, which is then loaded by the CL (I added some traces to WebappClassLoader.findClassInternal): FCI:S3$1 FCI:javax.xml.parsers.DocumentBuilder OK "OK" is printed, and no exception occurs, so it seems it does work for me. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>