web.xml難しいです。。
Tomcatを起動すると以下のエラーが出てて、
解決できません。
サービス Tomcat-Standalone を起動します
Apache Tomcat/4.1.18
2003/03/10 22:12:47 org.apache.commons.digester.Digester error
致命的: Parse Error at line 29 column 11: The content of element type "web-app"
must match "(icon?,display-name?,description?,distributable?,context-param*,filt
er*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-map
ping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,sec
urity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref
*)".
■Web.xmlの内容
<?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>
<servlet-name>KS</servlet-name>
<servlet-class>jp.co.test1.KSevlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>KServlet</servlet-name>
<url-pattern>/servlet/KServlet</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>KDServlet</servlet-name>
<servlet-class>jp.co.test1.KDServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>KDServlet</servlet-name>
<url-pattern>/servlet/KDServlet</url-pattern>
</servlet-mapping>
</web-app>