Ann,
This error has also happened to me. I found it pretty confusing at first, especially
since other java web servers (JRun, Weblogic) don't seem to care what order the
"web.xml" is in (am I correct in this?).
Try this instead:
<?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>
<display-name>Welcome to Tomcat</display-name>
<description>
Welcome to Tomcat
</description>
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>
</web-app>
Whenever I've run into this error:
"[...] icon?,display-name?,description?,distributable?,context-param*, [...],
servlet*, servlet-mapping*, [...]"
I find it helps to make sure my "web.xml" contains elements in exactly the same order
as the error message... in this case, notice "display-name" and "description" are
mentioned before "servlet-mapping" in the error message, whereas in your "web.xml" you
have them showing up afterwards.
(icon?,display-name?,description?,distributable?,context-para
> m*,filter*,fil
> > ter-mapping*,listener*,servlet*,servlet-mapping*,session-confi
> > g?,mime-mappin
> > g*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,re
> > source-ref*,se
> > curity-constraint*,login-config?,security-role*,env-entry*,ejb
> > -ref*,ejb-loca
> > l-ref*)".
Good luck!
yours,
Julius Davies, Programmer, CUCBC
Email: [EMAIL PROTECTED], Ph: 604.730.6385
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>