Java Reference
In-Depth Information
<property name="prefix" value="/WEB-INF/jsp/" />
<property name="suffix" value=".jsp" />
<bean name="/"
class="" >
<property name="uwrBusinessDelegate"
ref="underwritingBusinessDelegate" />
<property name="formView"
value="createPolicy" />
<property name="commandName"
value="policydetails" />
<property name="successView"
value="policydetails" />
<property name="commandClass"
value="com.apress.insuranceapp.web.formbean.PolicyFormBean" />
<property name="validator"
ref="policyUnderwriteValidtor" />
<bean id="messageSource" class=" å
<property name="basename" value="messages"/>
<bean name="policyUnderwriteValidtor"
class="" />
<bean name="underwritingBusinessDelegate"
class="" />
The resource bundle file that holds the error messages has a base name of messages.
Listing 3-32 shows a sample resource bundle.
Search WWH ::

Custom Search