Advertisement
mrchebik

Untitled

Aug 27th, 2016
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.17 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <beans:beans xmlns="http://www.springframework.org/schema/mvc"
  3.             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4.             xmlns:beans="http://www.springframework.org/schema/beans"
  5.             xmlns:context="http://www.springframework.org/schema/context"
  6.             xmlns:p="http://www.springframework.org/schema/p"
  7.             xsi:schemaLocation="http://www.springframework.org/schema/mvc
  8.    http://www.springframework.org/schema/mvc/spring-mvc.xsd
  9.    http://www.springframework.org/schema/beans
  10.    http://www.springframework.org/schema/beans/spring-beans.xsd
  11.    http://www.springframework.org/schema/context
  12.    http://www.springframework.org/schema/context/spring-context.xsd">
  13.  
  14.     <annotation-driven />
  15.  
  16.     <context:component-scan base-package="ru.mrchebik" />
  17.  
  18.     <beans:bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver"
  19.                p:prefix="/WEB-INF/views/"
  20.                p:suffix=".jsp"/>
  21.  
  22.     <resources mapping="/resources/**" location="/resources/" />
  23.  
  24.     <!--
  25.    <view-controller path="/" view-name="home" />
  26.    -->
  27.  
  28. </beans:beans>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement