* If this class is avalable, these instance appended to the Faces Servlet call chain.
* Default mapping to the FacesServlet instance is "*.jsf"
*/
protected void setupFacesServlet() {
ServletContainer facesServletContainer = new ServletContainer("*.jsf",
new FacesServlet());
facesServletContainer.setName("Faces Servlet");
try {
// Check for an ajax4jsf filter.
Class<? extends Filter> ajaxFilterClass = contextClassLoader
.loadClass("org.ajax4jsf.Filter").asSubclass(Filter.class);