It's not a secret anymore!
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "XML Doubt" Watch "XML Doubt" New topic

XML Doubt

Shibin Paul

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

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.
I agree. Here's the link:
subject: XML Doubt
It's not a secret anymore!