Return to Snippet

Revision: 65549
at December 18, 2013 06:29 by tedg


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

Initial URL

                                

Initial Description
To tell Spring to resolve a request URL to a JSP page, add a "view resolver" in the context configuration for the DispatchServlet.

Initial Title
How TO Resolve a Request URL to a JSP in Spring

Initial Tags

                                

Initial Language
Java