Originally posted by Bassam Zahid:
Yes the order is necessary. <listener> element precedes the <servlet> element.
Sorry Bassam, but I don't agree. According to Servlet spec 2.4, SRV.13.4:
"
1. web-app Element ...
All sub elements under this element can be in an arbitrary order."
So the order doesn't matter under <web-app>