Java Reference
In-Depth Information
Listing 3-59. ProductLoV.jsp
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns=" http://www.springframework.org/schema/beans"
xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=" http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"
>
<!-- other beans as above -->
<bean name="staticViewController"
class="org.springframework.web.servlet.mvc.UrlFilenameViewController" >
<property name="prefix" value="help/" />
</bean>
<bean name="semiStaticViewController"
class="org.springframework.web.servlet.mvc.UrlFilenameViewController" >
<property name="prefix" value="lookup/" />
</bean>
<bean
class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<property name="mappings">
<props>
<prop key="/*Help.do">staticViewController</prop>
<prop key="/*LoV.do">semiStaticViewController</prop>
</props>
</property>
</bean>
</beans>
Search WWH ::




Custom Search