Hi,
You probably have a web.xml file written to the 2.2 DTD.  Tomcat 4.x
strictly enforced the servlet spec 2.3 DTD for the web.xml files.  You
see the complete docs if you download the 2.3 spec from
java.sun.com/servlets and look at chapter 13.

If you post your web.xml file, we can sort if out for you very quickly.
But basically you have to ensure the elements in your file are in the
order indicated by the message below.  For example, all <servlet> tags
must be before all <servlet-mapping> tags, etc.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Dinesh Khetarpal [mailto:[EMAIL PROTECTED]]
>Sent: Friday, August 16, 2002 10:20 AM
>To: [EMAIL PROTECTED]
>Subject: web app with 2.3 dtd enforced
>
>I am not able to deploy my webapp because tomcat say web.xml file
should
>have all of following elements
>PARSE error at line 209 column 11
>org.xml.sax.SAXParseException: The content of element type "web-app"
>must match
>"(icon?,display-name?,description?,distributable?,context-param*,filter
*
>,filter-
>mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mappi
n
>g*,welco
>me-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,secur
i
>ty-const
>raint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)
"
>.
>Starting service Tomcat-Apache
>Apache Tomcat/4.0.4
>
>Somebiody please help
>Dinesh
This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to