• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding DD

 
Karne Reddy
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I want to confirm the below statement.

"The order of elements in deployment descriptor is important. The elements must follow a specific order."

Is it correct?

If so, I am keeping the elements of DD and they were working fine.(Tomcat).

Any idea?


----------
SCJP
 
Sandeep Singh Kunwar
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes order matters,
have a google on it, and you will get some bunch of instructions regarding order in web.xml
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The order of elements in deployment descriptor is important. The elements must follow a specific order

This is true with Servlet specification 2.3 and older versions. (Tomcat 4.x)

With Servlet 2.4 (Tomcat 5.x), the order is not important.
 
Saurabh Chaubey
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes Satou is correct with servlet 2.4 specs (tomcat 5.x) the order of the elements in DD is not important.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic