Check that WAR apps work in a container

This commit is contained in:
Dave Syer
2014-01-06 11:32:30 +00:00
parent 0610378d2f
commit f5f41fef5e
5 changed files with 19 additions and 3 deletions

View File

@@ -45,6 +45,7 @@ public class WebConfig extends WebMvcConfigurerAdapter {
}
@Bean
// Only used when running in embedded servlet
public DispatcherServlet dispatcherServlet() {
return new DispatcherServlet();
}