File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reg : Web.xml

 
Arvind Varma
Ranch Hand
Posts: 48
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys...i figured it out...!!!
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic