Last change
on this file since 113 was
113,
checked in by rboipsl, 13 years ago
|
Import du projet NDACC _ module web
|
File size:
1.6 KB
|
Rev | Line | |
---|
[113] | 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" xmlns:aop="http://www.springframework.org/schema/aop" |
---|
| 4 | xsi:schemaLocation=" |
---|
| 5 | http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd |
---|
| 6 | http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd"> |
---|
| 7 | |
---|
| 8 | <!-- Mappings --> |
---|
| 9 | <bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"> |
---|
| 10 | <property name="mappings"> |
---|
| 11 | <props> |
---|
| 12 | <prop key="/station">etherController</prop> |
---|
| 13 | <prop key="/instrument">etherController</prop> |
---|
| 14 | </props> |
---|
| 15 | </property> |
---|
| 16 | </bean> |
---|
| 17 | |
---|
| 18 | <bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver"> |
---|
| 19 | <property name="viewClass" value="org.springframework.web.servlet.view.JstlView" /> |
---|
| 20 | <property name="prefix" value="/" /> |
---|
| 21 | <property name="suffix" value=".jsp" /> |
---|
| 22 | </bean> |
---|
| 23 | |
---|
| 24 | <bean id="myMethodNameResolver" class="org.springframework.web.servlet.mvc.multiaction.ParameterMethodNameResolver"> |
---|
| 25 | <property name="defaultMethodName" value="home"/> |
---|
| 26 | <property name="paramName" value="methodName"/> |
---|
| 27 | </bean> |
---|
| 28 | |
---|
| 29 | <bean id="etherController" class="com.ether.Controller"> |
---|
| 30 | <property name="methodNameResolver" ref="myMethodNameResolver" /> |
---|
| 31 | <property name="stationService" ref="stationService" /> |
---|
| 32 | <property name="instrumentService" ref="instrumentService" /> |
---|
| 33 | <property name="serviceTools" ref="serviceTools" /> |
---|
| 34 | <property name="plotService" ref="plotService" /> |
---|
| 35 | </bean> |
---|
| 36 | |
---|
| 37 | </beans> |
---|
Note: See
TracBrowser
for help on using the repository browser.