File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » Tomcat
Bookmark "problem in web.xml " Watch "problem in web.xml " New topic

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:
subject: problem in web.xml
jQuery in Action, 3rd edition