• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding order of elements

 
Vedhas Pitkar
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,those who have given the exam prevoiusly,is the order of elements in web.xml important?If yes ,in what sense?
Eg.
<web-app>
...order of web-app sub elements
</web-app>
OR
<servlet>
... order of sub elements' elements
</servlet>
 
Andrea Gazzarini
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi vedhas,
the order of the elements is important, because the web application is described in its structure by a DTD. Look at the DTD specified on the top delaration of the web.xml and you will undestand what I mean.
Hope it helps...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic