Advertisement
Guest User

Untitled

a guest
Jul 12th, 2012
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.27 KB | None | 0 0
  1. <beans xmlns="http://www.springframework.org/schema/beans"
  2.     xmlns:context="http://www.springframework.org/schema/context"
  3.    xmlns:mvc="http://www.springframework.org/schema/mvc"
  4.     xmlns:aop="http://www.springframework.org/schema/aop"
  5.    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  6.     xsi:schemaLocation="
  7.        http://www.springframework.org/schema/beans    
  8.        http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
  9.        http://www.springframework.org/schema/context
  10.        http://www.springframework.org/schema/context/spring-context-3.0.xsd
  11.        http://www.springframework.org/schema/mvc
  12.        http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
  13.        http://www.springframework.org/schema/aop
  14.        http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">
  15.      
  16.     <context:component-scan base-package="com.lti.tto.web.controller" />
  17.  
  18.     <mvc:resources mapping="/resources/**" location="/resources/"/>
  19.    
  20.     <bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
  21.         <property name="prefix">
  22.             <value>/WEB-INF/views/</value>
  23.         </property>
  24.         <property name="suffix">
  25.             <value>.jsp</value>
  26.         </property>
  27.     </bean>
  28.    
  29.    
  30.  
  31. </beans>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement