Meaningless Drivel is fun!*
The moose likes Struts and the fly likes XML Doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "XML Doubt" Watch "XML Doubt" New topic
Author

XML Doubt

Shibin Paul
Greenhorn

Joined: Dec 11, 2006
Posts: 18
Does the order of elements in a xml file(web.xml, struts-config.xml, validation.xml) afeect the application in any way?

Thanks in advance.
Kris Bal
Greenhorn

Joined: Dec 24, 2006
Posts: 19
The order of elements in web.xml,struts-config.xml,validation.xml has to be according to the rules defined in their DTDs.
We should not change the order of elements, otherwise it will cause error.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: XML Doubt