Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic