0
 
		servletContext = new MockServletContext("/org/springframework/js/ajax/tiles2/"); 
		request = new MockHttpServletRequest(servletContext); 
		response = new MockHttpServletResponse(); 
 
		TilesConfigurer tc = new TilesConfigurer(); 
		tc.setDefinitions(new String[] { "tiles-definitions.xml" }); 
		tc.setValidateDefinitions(true); 
		tc.setServletContext(servletContext); 
		tc.setUseMutableTilesContainer(true); 
		tc.afterPropertiesSet(); 
 
		ajaxTilesView = new AjaxTilesView(); 
	} 
 
	private void setupStaticWebApplicationContext() { 
		StaticWebApplicationContext wac = new StaticWebApplicationContext(); 
		wac.setServletContext(servletContext); 
		wac.refresh(); 
		request.setAttribute(RequestContext.WEB_APPLICATION_CONTEXT_ATTRIBUTE, wac);