formatting work
This commit is contained in:
@@ -1,23 +1,23 @@
|
||||
package org.baeldung.servlet;
|
||||
|
||||
//public class WebApp implements WebApplicationInitializer {
|
||||
// public class WebApp implements WebApplicationInitializer {
|
||||
//
|
||||
// public WebApp() {
|
||||
// super();
|
||||
// }
|
||||
// public WebApp() {
|
||||
// super();
|
||||
// }
|
||||
//
|
||||
// // API
|
||||
// // API
|
||||
//
|
||||
// @Override
|
||||
// public void onStartup(final ServletContext servletContext) throws ServletException {
|
||||
// final AnnotationConfigWebApplicationContext root = new AnnotationConfigWebApplicationContext();
|
||||
// root.setServletContext(servletContext);
|
||||
// root.scan("org.baeldung.spring");
|
||||
// root.refresh();
|
||||
// @Override
|
||||
// public void onStartup(final ServletContext servletContext) throws ServletException {
|
||||
// final AnnotationConfigWebApplicationContext root = new AnnotationConfigWebApplicationContext();
|
||||
// root.setServletContext(servletContext);
|
||||
// root.scan("org.baeldung.spring");
|
||||
// root.refresh();
|
||||
//
|
||||
// final Dynamic servlet = servletContext.addServlet("mvc", new DispatcherServlet(root));
|
||||
// servlet.setLoadOnStartup(1);
|
||||
// servlet.addMapping("/");
|
||||
// }
|
||||
// final Dynamic servlet = servletContext.addServlet("mvc", new DispatcherServlet(root));
|
||||
// servlet.setLoadOnStartup(1);
|
||||
// servlet.addMapping("/");
|
||||
// }
|
||||
//
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user