aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Reg : Web.xml " Watch "Reg : Web.xml " New topic
Author

Reg : Web.xml

Arvind Varma
Ranch Hand

Joined: Dec 24, 2002
Posts: 48
Hi,
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
er*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-map
ping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,sec
urity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref
*)".
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: http://aspose.com/file-tools
 
subject: Reg : Web.xml