• Post Reply Bookmark Topic Watch Topic
  • New Topic

Deployment Descriptor element order

 
Tyronne Fernando
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I was just wondering the elements in the Deployment Descriptor should be in a particular order or not? For example the servlet elements should be defined first. Is there a DTD for it? Thanks in advance.

Cheers,
Tyronne
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Servlets 2.4 use an XML Schema. The order of "outer tags" like servelts or servlet-mapping is not important. It may influence the way the container will use them though (like listener tags). You'll find the full XML Schema in the Servlets specification.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!