Minor reordering and refactoring of the web.xml fragment to make sure the DTD is valid once its included