wood burning stoves 2.0*
The moose likes Tomcat and the fly likes problem in web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "problem in web.xml " Watch "problem in web.xml " New topic
Author

problem in web.xml

Prakash Dwivedi
Ranch Hand

Joined: Sep 28, 2002
Posts: 452
Hello friends,
I am using of jakarta-tomcat-4.1.18
I am getting errors as soon as i start my tomcat
I have made only one new entry after which i got these errors.
i.e. i added listener tag, although my listener class is working fine.




Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"
Jason Brawner
Ranch Hand

Joined: Dec 19, 2001
Posts: 66
Put the listener element before the other two. The deployment descriptor requires some elements to be in a particular order.


Jason E. Brawner<br />Sun Certified Java Programmer<br />Sun Certified Web Component Developer
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in web.xml
 
Similar Threads
Error while running tomcat
is sibling elements in web.xml ordered?
Multiple Servlet Configuration in web.xml
*listener* *listener-class*
Tomcat problem while reading Data from Xml file