forked from maxliaops/Java_Web_Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSourceStu_Config.xml
More file actions
43 lines (42 loc) · 1.32 KB
/
Copy pathSourceStu_Config.xml
File metadata and controls
43 lines (42 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
"http://www.springframework.org/dtd/spring-beans.dtd" >
<beans default-autowire="byName">
<bean id="CjMethodResolver"
class="org.springframework.web.servlet.mvc.multiaction.PropertiesMethodNameResolver">
<property name="mappings">
<props>
<prop key="/regCjInfo.htm">reg</prop>
<prop key="/searchCjInfo.htm">search</prop>
<prop key="/classSourceList.htm">ClassSourceList</prop>
<prop key="/gradeSourceList.htm">GradeSourceList</prop>
</props>
</property>
</bean>
<bean id="stuSourceInfoList"
class="com.spring.controller.SourceInfoList">
<property name="dao">
<ref bean="DAOProxy" />
</property>
<property name="methodNameResolver">
<ref bean="CjMethodResolver"/>
</property>
</bean>
<bean id="CjLoader" class="com.spring.controller.SourceLoader">
<property name="dao">
<ref bean="DAOProxy" />
</property>
<property name="methodNameResolver">
<ref bean="CjMethodResolver" />
</property>
</bean>
<bean id="CjRegBatchController"
class="com.spring.controller.SourceAddBatch">
<property name="successView">
<value>sourceview/doc_stusource_input</value>
</property>
<property name="dao">
<ref bean="DAOProxy" />
</property>
</bean>
</beans>