把这一行删除就可以
“http://xml.cxml.org/schemas/cXML/1.2.007/cXML.dtd”。
“http://xml.cxml.org/schemas/cXML/1.2.007/cXML.dtd”。
解决方案 »
- 快来帮忙啊?????
- 第一次使用 Tomcat,哪位提供点安装,配置和使用的资料
- 请教Struts的Action中的servlet是什么?
- web程序查询速度慢的问题
- Jbuilder2006中配置webservice的问题
- struts2的拦截器invocation.invoke()旁边有红叉 提示错误为invocation cannot be resolved;
- jboss+eclipse+oracle怎么配置?怎么在jboss下运行servlets?
- 关于java对zip文件的处理,大家进来看看吧。
- c3p0连接池满后的连接死锁问题
- 有个分页类,但不知道要怎样去写分页代码。
- [求助]请问怎样让JDOM在加载包含DOCTYPE声明的XML文档时不去寻找DTD文件?????
- 同一servlet中的init方法在多个用户请求时是不是只有第一个用户执行这个方法,其他用户直接执行service方法??
private static final String DEFAULT_SAX_DRIVER =
"org.apache.xerces.parsers.SAXParser"; /** Whether validation should occur */
private boolean validate; /**
* <p>
* This allows the validation features to be turned on/off
* in the builder at creation, as well as set the
* DOM Adapter class to use.
* </p>
*
* @param saxDriverClass <code>String</code> name of SAX Driver
* to use for parsing.
* @param validate <code>boolean</code> indicating if
* validation should occur.
*/
public SAXBuilder(String saxDriverClass, boolean validate) {
this.saxDriverClass = saxDriverClass;
this.validate = validate;
} /**
* <p>
* This sets the SAX Driver class to use, and leaves
* validation off.
* </p>
*
* @param saxDriverClass <code>String</code> name of SAX Driver
* to use for parsing.
*/
public SAXBuilder(String saxDriverClass) {
this(saxDriverClass, false);
} /**
* <p>
* This sets validation for the <code>Builder</code>.
* </p>
*
* @param validate <code>boolean</code> indicating if
* validation should occur.
*/
public SAXBuilder(boolean validate) {
this(DEFAULT_SAX_DRIVER, validate);
} /**
* <p>
* This creates a <code>SAXBuilder</code> with
* the default SAX driver and no validation.
* </p>
*/
public SAXBuilder() {
this(DEFAULT_SAX_DRIVER, false);
}