Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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:mvc="http://www.springframework.org/schema/mvc"
- xmlns:context="http://www.springframework.org/schema/context"
- xsi:schemaLocation="http://www.springframework.org/schema/beans
- http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
- http://www.springframework.org/schema/mvc
- http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd
- http://www.springframework.org/schema/context
- http://www.springframework.org/schema/context/spring-context-4.0.xsd">
- <mvc:resources mapping="/**" location="/WEB-INF/wfm/" />
- <mvc:default-servlet-handler />
- <mvc:annotation-driven>
- <mvc:message-converters>
- <bean
- class="org.springframework.http.converter.json.MappingJackson2HttpMessageConverter">
- <property name="objectMapper">
- <bean class="com.eonecr.ext.jackson.ScalaObjectMapper"></bean>
- </property>
- </bean>
- </mvc:message-converters>
- </mvc:annotation-driven>
- <bean id="viewResolver"
- class="org.springframework.web.servlet.view.InternalResourceViewResolver">
- <property name="viewClass" value="org.springframework.web.servlet.view.JstlView" />
- <property name="prefix">
- <value>/WEB-INF/</value>
- </property>
- <property name="suffix">
- <value>.jsp</value>
- </property>
- </bean>
- <context:component-scan base-package="com.eonecr.wfm.webservice.**"/>
- <!-- <mvc:view-controller path="/" view-name="redirect:/#/portfolio/R002-C002"/> -->
- <mvc:view-controller path="/" view-name="wfm/index"/>
- <mvc:view-controller path="/log*" view-name="wfm/login"/>
- </beans>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement