|
|
@ -61,7 +61,7 @@ import javax.servlet.ServletException; |
|
|
|
* |
|
|
|
* |
|
|
|
* @Override |
|
|
|
* @Override |
|
|
|
* public void onStartup(ServletContext container) { |
|
|
|
* public void onStartup(ServletContext container) { |
|
|
|
* XmlWebApplicationContext appContext = new XmlWebApplicationContext() |
|
|
|
* XmlWebApplicationContext appContext = new XmlWebApplicationContext(); |
|
|
|
* appContext.setConfigLocation("/WEB-INF/spring/dispatcher-config.xml"); |
|
|
|
* appContext.setConfigLocation("/WEB-INF/spring/dispatcher-config.xml"); |
|
|
|
* |
|
|
|
* |
|
|
|
* ServletRegistration.Dynamic dispatcher = |
|
|
|
* ServletRegistration.Dynamic dispatcher = |
|
|
|