web.xml引入其他的xml出现错误,求助~
web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app[
<!ENTITY filters SYSTEM "filters.xml">
<!ENTITY servlets SYSTEM "servlets.xml">
<!ENTITY mappings SYSTEM "mappings.xml">
]>
<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
&filters; <!-- filter配置文件 -->
&servlets; <!-- servlets声明文件 -->
&mappings; <!-- servlet映射文件 -->
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>
被引入的xml如下:
mappings.xml:
<!-- fckeditor -->
<servlet-mapping>
<servlet-name>Connector</servlet-name>
<url-pattern>
/fckeditor/editor/filemanager/connectors/*
</url-pattern>
</servlet-mapping>
其他两个也是这样的,但是启动tomcat以后出现:
2009-10-23 17:14:04 org.apache.jasper.xmlparser.MyEntityResolver resolveEntity
严重: Invalid PUBLIC ID: null
这个错误,而项目完全正常使用,没有发现什么错误。但是每次启动都有这个错误,让我心里很不踏实,请问高手们,谁能帮我解决一下呢?谢谢
q 83534146