Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Order of the elements in web.xml  RSS feed

 
Adri Smith
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As you could see I am in shape today

So I have another simple question.

In specification 2.3 the deployment descriptor was validated by a DTD. Now with spec 2.4 this not anymore the case, we are using an XML schema.

I am not an expert of XML... SO I would like to know if there is an order of the elements within a web.xml file. With the spec 2.3 this was the case (for example context-param tag musta appear before servlet definitions), is it still the case with spec 2.4 ?

Thanks in advance,
Adri
 
Sivasundaram Umapathy
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With the advent of XML schemas in Servlets 2.4,the order of elements is no more mandated as in Servlets 2.3

 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!