Last change
on this file since 29 was
20,
checked in by fmguler, 14 years ago
|
Refs #2 - Scheduling System web uygulaması ilk import. Spring 3 kullanılıyor.
|
File size:
1.6 KB
|
Rev | Line | |
---|
[20] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 2 | <beans xmlns="http://www.springframework.org/schema/beans" |
---|
| 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
---|
| 4 | xmlns:p="http://www.springframework.org/schema/p" |
---|
| 5 | xmlns:aop="http://www.springframework.org/schema/aop" |
---|
| 6 | xmlns:tx="http://www.springframework.org/schema/tx" |
---|
| 7 | xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd |
---|
| 8 | http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd |
---|
| 9 | http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd"> |
---|
| 10 | |
---|
| 11 | <bean class="org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping"/> |
---|
| 12 | |
---|
| 13 | <!-- |
---|
| 14 | Most controllers will use the ControllerClassNameHandlerMapping above, but |
---|
| 15 | for the index controller we are using ParameterizableViewController, so we must |
---|
| 16 | define an explicit mapping for it. |
---|
| 17 | --> |
---|
| 18 | <bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"> |
---|
| 19 | <property name="mappings"> |
---|
| 20 | <props> |
---|
| 21 | <prop key="index.htm">indexController</prop> |
---|
| 22 | </props> |
---|
| 23 | </property> |
---|
| 24 | </bean> |
---|
| 25 | |
---|
| 26 | <bean id="viewResolver" |
---|
| 27 | class="org.springframework.web.servlet.view.InternalResourceViewResolver" |
---|
| 28 | p:prefix="/WEB-INF/jsp/" |
---|
| 29 | p:suffix=".jsp" /> |
---|
| 30 | |
---|
| 31 | <!-- |
---|
| 32 | The index controller. |
---|
| 33 | --> |
---|
| 34 | <bean name="indexController" |
---|
| 35 | class="org.springframework.web.servlet.mvc.ParameterizableViewController" |
---|
| 36 | p:viewName="index" /> |
---|
| 37 | |
---|
| 38 | </beans> |
---|
Note: See
TracBrowser
for help on using the repository browser.