Encapsulate some core elements in web.xml
Avoid errors when running in offline mode