Java Reference
In-Depth Information
protocol-specific details. Finally, I will wire up everything in the Spring configuration file.
Since this handler adapter is not a default one, I will need to explicitly declare it as part of
the configuration information. Because I am using handler adapter chaining, the default
handler adapter also has to be explicitly configured. Listing 3-41 shows all of this.
Listing 3-41. insurance-servlet.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns=""
xsi:schemaLocation=" ">
<bean name="throwawayHandlerAdapter"
class=" å
SimpleFormThrowawayControllerHandlerAdapter" />
<bean name="simpleControllerHandlerAdapter"
class="org.springframework.web.servlet.mvc. å
SimpleControllerHandlerAdapter" />
<bean name="viewResolver"
<property name="viewClass"
value="org.springframework.web.servlet.view.JstlView" />
<property name="prefix" value="/WEB-INF/jsp/" />
<property name="suffix" value=".jsp" />
<bean name="/"
class="" />
<bean name="/"
class="" />
<bean name="underwritingBusinessDelegate"
class="" />
Search WWH ::

Custom Search