• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DD Tag Order

 
Reema Patel
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I read the following statement in a book:


I believe this is not true, tag order in the DD is immaterial in Servlets 2.4.
Pls. correct me if I'm wrong.

Thanks,
Reema
 
Remko Strating
Ranch Hand
Posts: 893
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your right. The order of elements in the web.xml does not matter according to Servlets specification 2.4. But it's import to know that the order of subelements elements still important.

Also the ordering of the elements could have an influence on the behavior. As an example the order in which filers are declared will influence to order in which they are invoked.
 
Reema Patel
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Remko!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic