This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Servlets and the fly likes Reg : Web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Reg : Web.xml " Watch "Reg : Web.xml " New topic

Reg : Web.xml

Arvind Varma
Ranch Hand

Joined: Dec 24, 2002
Posts: 48
i'm trying to deploy a Web App on Tomcat 4.1. Wrote a couple of servlets and made the required changes in web.xml(given below). It wotked fine when i didn't have these servlets but when i added information about servlets it is giving me a parse error:
Feb 16, 2003 3:42:22 PM org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 30 column 11: The content of element type "web-app"
must match "(icon?,display-name?,description?,distributable?,context-param*,filt
I don't think there is some error in my web.xml but not sure...thanks in advance

Arvind Varma
Ranch Hand

Joined: Dec 24, 2002
Posts: 48
Thanks guys...i figured it out...!!!
I agree. Here's the link:
subject: Reg : Web.xml
It's not a secret anymore!