Y
youweibin
Unregistered / Unconfirmed
GUEST, unregistred user!
在启动weblogic server的时候,会出现如下信息,请问是怎么回事?
<2003-12-20 下午21时57分04秒 CST> <Warning> <HTTP> <BEA-101248> <[bookstore]:
Deployment descriptor "web.xml" is malformed. Check against the DTD: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'web-app'.<line 2, column 10>.>
我的web.xml配置如下:
<?xml version="1.0" ?>
<web-app>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>MainServlet</servlet-name>
<servlet-class>com.taxi.bookstore.control.MainServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>MainServlet</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
</web-app>
当我运行我的web app时,能够正确显示index.jsp中的内容。
<2003-12-20 下午21时57分04秒 CST> <Warning> <HTTP> <BEA-101248> <[bookstore]:
Deployment descriptor "web.xml" is malformed. Check against the DTD: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'web-app'.<line 2, column 10>.>
我的web.xml配置如下:
<?xml version="1.0" ?>
<web-app>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>MainServlet</servlet-name>
<servlet-class>com.taxi.bookstore.control.MainServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>MainServlet</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
</web-app>
当我运行我的web app时,能够正确显示index.jsp中的内容。