Hallo,
I got an error in my catalina.out msg like this:
org.xml.sax.SAXParseException: The content of element type "web-app" must
match
"(icon?,display-name?,description?,distributable?,context-param*,filter*,fil
ter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mappin
g*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,se
curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-loca
l-ref*)".
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHand
lerWrapper.java:232)
at
org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:17
3)
............................
my web.xml:
<!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>
<display-name>w2k-Projektdokumentation</display-name>
<description>w2k-Projektdokumentation</description>
<context-param>
<param-name>J. Steltner</param-name>
<param-value>[EMAIL PROTECTED]</param-value>
<description>
Please send a mail.
</description>
</context-param>
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/w2k</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>dbGetInvoices</servlet-name>
<description>Print table with all invoices.</description>
<servlet-class>dbGetInvoices</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>dbGetInvoices</servlet-name>
<url-pattern>/dbGetInvoices</url-pattern>
</servlet-mapping>
</web-app>
may some can help me. I don't have any idea where the eror should be ;-(
TNX!
Regards
Joern
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>