Biblioteca Java - Blame information for rev 10
Subversion Repositories:
Rev | Author | Line No. | Line |
---|---|---|---|
10 | mihai | 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" xmlns:beans="http://www.springframework.org/schema/beans" | ||
4 | xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="http://www.springframework.org/schema/tx" | ||
5 | xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd | ||
6 | http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd | ||
7 | http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd | ||
8 | http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd "> | ||
9 | |||
10 | <!-- DispatcherServlet Context: defines this servlet's request-processing | ||
11 | infrastructure --> | ||
12 | |||
13 | <!-- Enables the Spring MVC @Controller programming model --> | ||
14 | <annotation-driven /> | ||
15 | |||
16 | <!-- Handles HTTP GET requests for /resources/** by efficiently serving | ||
17 | up static resources in the ${webappRoot}/resources directory --> | ||
18 | <resources mapping="/resources/**" location="/resources/" /> | ||
19 | |||
20 | <!-- Resolves views selected for rendering by @Controllers to .jsp resources | ||
21 | in the /WEB-INF/views directory --> | ||
22 | <beans:bean | ||
23 | class="org.springframework.web.servlet.view.InternalResourceViewResolver"> | ||
24 | <beans:property name="prefix" value="/WEB-INF/views/" /> | ||
25 | <beans:property name="suffix" value=".jsp" /> | ||
26 | </beans:bean> | ||
27 | |||
28 | |||
29 | <context:component-scan base-package="webapp.hello" /> | ||
30 | |||
31 | |||
32 | |||
33 | </beans:beans> |