* @throws TilesException in case of setup failure
*/
protected TilesContainer createTilesContainer(ServletContext context) throws TilesException {
ServletContextAdapter adaptedContext = new ServletContextAdapter(new DelegatingServletConfig());
TilesContainerFactory factory = TilesContainerFactory.getFactory(adaptedContext);
return factory.createContainer(adaptedContext);
}
/**
* Removes the TilesContainer from this web application.
* @throws TilesException in case of cleanup failure