Code example for AbstractAnnotationConfigDispatcherServletInitializer

0
package com.sivalabs.tweeter.config; 
 
import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer; 
 
/** 
 * @author Siva 
 *  
 */ 
public class SpringWebAppInitializer extends AbstractAnnotationConfigDispatcherServletInitializer 
{ 
 
	@Override 
	protected Class<?>[] getRootConfigClasses() 
	{ 
		return new Class<?>[] { AppConfig.class }; 
	} 
 
	@Override 
	protected Class<?>[] getServletConfigClasses() 
	{ 
		return new Class<?>[] { WebMvcConfig.class }; 
	} 
 
Experience pair programming with AI  Get Codota for Java