If my web application have too many servlet class and filter, I think put all in the same document is too complex, I want to konw how could I seperate it to 2 or more XML file.
Asked
Active
Viewed 273 times
1 Answers
-1
XML allows external entities (other XML files) to be imported. Relevant question here - Can we import XML file into another XML file?.
-
As to web.xml, this works only in older Tomcat versions and is a security bug. It was fixed in newer Tomcat versions. Regardless, if you found a duplicate question, flag/vote as duplicate, do not post it as a link-only answer for the sake of reputation. – BalusC Sep 15 '15 at 07:05