spring mvc work

This commit is contained in:
eugenp 2014-03-16 01:14:05 +02:00
parent 1805d42f2a
commit cab8e4d830
2 changed files with 5 additions and 8 deletions

View File

@ -9,9 +9,9 @@ import org.springframework.web.servlet.view.JstlView;
//@EnableWebMvc
//@Configuration
public class ClientWebConfigOld extends WebMvcConfigurerAdapter {
public class ClientWebConfigJava extends WebMvcConfigurerAdapter {
public ClientWebConfigOld() {
public ClientWebConfigJava() {
super();
}

View File

@ -1,13 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:context="http://www.springframework.org/schema/context"
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-4.0.xsd
http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd">
http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd">
<bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="prefix" value="/WEB-INF/view/" />