做一个JSP的网页项目,做的是新闻发布系统,在web.xml文件中报错
<?xmlversion="1.0"encoding="ISO-8859-1"?><!DOCTYPEweb-appPUBLIC"-//SunMicrosystems,In...
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>conn</servlet-name>
<servlet-class>news.conn</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>conn</servlet-name>
<url-pattern>/conn</url-pattern>
</servlet-mapping>
</web-app>
在 <servlet>这里报错,不知道错在哪里了,求高手指教 展开
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>conn</servlet-name>
<servlet-class>news.conn</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>conn</servlet-name>
<url-pattern>/conn</url-pattern>
</servlet-mapping>
</web-app>
在 <servlet>这里报错,不知道错在哪里了,求高手指教 展开
若以下回答无法解决问题,邀请你更新回答
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询