wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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: 438
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: 12761
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: web.xml question
 
Similar Threads
web.xml doesn't parse correctly ?
Is EL enbaled defaultly?
Non validating XML parser
HFS first exercise
Expression Language