This is the excerpt from the FrameworkServlet source code:
FrameworkServlet.java
As for the overriding the default namespace there are some important moments. When you set a new namespace, don't prepend it with /WEB-INF
and don't append .xml
to it. The reason for that can be discovered if we look in the source file for the XmlWebApplicationContext class:
XmlWebApplicationContext.java