code:         public InputSource resolveEntity(String name, String publicId,
                  String baseURI, String systemId) throws SAXException,
                  IOException {
              throw new SAXException(sm.getString("defaultServlet.blockExternalEntity2",
                      name, publicId, baseURI, systemId));
          }
      }
  }
  