minor cleanup
This commit is contained in:
parent
16e74dcca4
commit
35fbbd7822
|
@ -1,10 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
|
||||
<wb-module deploy-name="launchpad-web">
|
||||
<wb-module deploy-name="spring-mvc">
|
||||
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
|
||||
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
|
||||
<property name="context-root" value="launchpad-web"/>
|
||||
<property name="java-output-path" value="/launchpad-web/target/classes"/>
|
||||
<property name="context-root" value="spring-mvc"/>
|
||||
<property name="java-output-path" value="/spring-mvc/target/classes"/>
|
||||
</wb-module>
|
||||
</project-modules>
|
||||
|
|
|
@ -14,6 +14,12 @@ import org.springframework.web.servlet.view.JstlView;
|
|||
// @ComponentScan("org.package1.to.scan.web")
|
||||
public class ClientWebConfig extends WebMvcConfigurerAdapter {
|
||||
|
||||
public ClientWebConfig() {
|
||||
super();
|
||||
}
|
||||
|
||||
// API
|
||||
|
||||
@Override
|
||||
public void addViewControllers(final ViewControllerRegistry registry) {
|
||||
super.addViewControllers(registry);
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
</context-param>
|
||||
<context-param>
|
||||
<param-name>contextConfigLocation</param-name>
|
||||
<param-value>org.package1.to.scan org.package2.to.scan</param-value>
|
||||
<param-value>org.baeldung.spring.web.config</param-value>
|
||||
</context-param>
|
||||
|
||||
<listener>
|
||||
|
|
Loading…
Reference in New Issue