Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: b68841048efdafa181615e05d3ad122a4e0fb5a6 (plain) (blame)
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "http://www.springframework.org/dtd/spring-beans-2.0.dtd">
<beans>

	<bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
		<property name="prefix" value="/WEB-INF/jsp/"/>
		<property name="suffix" value=".jsp"/>
	</bean>

	<bean name="/list.htm" class="org.eclipse.virgo.samples.formtags.war.web.ListController">
		<property name="userManager" ref="userManager"/>
	</bean>

	<bean name="/form.htm" class="org.eclipse.virgo.samples.formtags.war.web.FormController">
		<property name="formView" value="form"/>
		<property name="successView" value="redirect:list.htm"/>
		<property name="userManager" ref="userManager"/>
		<property name="validators">
			<bean id="userValidator" class="org.eclipse.virgo.samples.formtags.war.validation.UserValidator"/>
		</property>
	</bean>

	<bean name="/about.htm" class="org.eclipse.virgo.samples.formtags.war.web.ListController">
		<property name="userManager" ref="userManager"/>
		<property name="viewName" value="about"/>
	</bean>

	<bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource">
		<property name="basename" value="i18n"/>
	</bean>

</beans>

Back to the top