This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Tomcat and the fly likes web.xml question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "web.xml question" Watch "web.xml question" New topic
Author

web.xml question

Nakata kokuyo
Ranch Hand

Joined: Apr 13, 2005
Posts: 442
hi, good day to all,

i using tomcat 5.59 , i have a problem when tomcat start load it , it prompt me the error like parse xml error on web.xml, then i try many way to fix it , including change my jdk from 1.4 to 1.5 , and now i even just make the web.xml as follow :


it still give the the error as below :
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12809
    
    5
Parse Fatal Error at line 90 column 1:

Since the web.xml you have been fiddling with does NOT have a line 90, one has to assume that it is another web.xml causing the problem. Note that in the ../conf/ directory we have the default web.xml which is used as the base for all servlet configuration and is always the first web.xml to be read.

Rather than flail around when I get a web.xml error, I fire up XML Spy and let it locate the problem. It is really easy for a simple typo to screw up an XML document.
Bill
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: web.xml question