jQuery in Action, 3rd edition
The moose likes Tomcat and the fly likes Problem with webapps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Problem with webapps" Watch "Problem with webapps" New topic

Problem with webapps

Gopinath Reddy

Joined: Feb 26, 2004
Posts: 15
Hi all

I am using web.xml in my project while starting tomcat server it is giving

Server is listing Error like this

org.xml.sax.SAXParseException : The content of element Type "web-app" must match "<icon?,displsy-name?,description?,distributable?, context-param*,filter *,filter-mapping*,listener*,servlet *,servlet-mapping*,sesion-config?,welcome-file-list?,error-page*>"

the above said is the error given by server. I think this is warning only because even though server is giving this error my application is running, Pls give me suggestion.

Ritesh Agrawal
Ranch Hand

Joined: Jan 08, 2004
Posts: 74
Hi Gopi,

I am not sure but I have a feeling that the web.xml construct is somewhere wrong. Check the web.xml file properly. Basically, such errors come when the end-tag is missing or is different (incorrect spelling) from the start-tag.

Ritesh<br /> <br />SCJP 1.4<br />IBM Test 340<br />IBM AIX V4.0 Certified Professional<br /> <br />Right actions for the future are the best apologies for wrong ones in the past.<br />- Tyron Edwards
I agree. Here's the link: http://aspose.com/file-tools
subject: Problem with webapps
It's not a secret anymore!