You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
1.3 KiB
24 lines
1.3 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
<b:beans xmlns="http://www.springframework.org/schema/mvc" |
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
xmlns:b="http://www.springframework.org/schema/beans" |
|
xmlns:p="http://www.springframework.org/schema/p" |
|
xmlns:context="http://www.springframework.org/schema/context" |
|
xsi:schemaLocation="http://www.springframework.org/schema/mvc https://www.springframework.org/schema/mvc/spring-mvc.xsd |
|
http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd |
|
http://www.springframework.org/schema/context https://www.springframework.org/schema/context/spring-context.xsd"> |
|
|
|
<context:component-scan base-package="org.springframework.security.samples.servletapi.mvc" /> |
|
|
|
<!-- Enables the Spring MVC @Controller programming model --> |
|
<annotation-driven/> |
|
|
|
<!-- Handles HTTP GET requests for /resources/** by efficiently serving up static resources in the ${webappRoot}/resources/ directory --> |
|
<resources mapping="/resources/**" location="/resources/" /> |
|
|
|
<!-- Resolves views selected for rendering by @Controllers to .jsp resources in the /WEB-INF/views directory --> |
|
<b:bean class="org.springframework.web.servlet.view.InternalResourceViewResolver" |
|
p:prefix="/WEB-INF/views/" |
|
p:suffix=".jsp" /> |
|
|
|
</b:beans>
|
|
|