Skip to main content

The Spring series, Part 3: Swing into Spring MVC

Sunny day application development with Spring MVC

Return to article

When you print this page, select the landscape layout option.


Listing 6. The InternalResourceViewResolver
 
<bean id="view-Resolver" 
      class="org.springframework.web.servlet.view.InternalResourceViewResolver">
   <property name="viewClass">
      <value>org.springframework.web.servlet.view.JstlView</value>
   </property>
   <property name="prefix"><value>/jsp/</value></property>
   <property name="suffix"><value>.jsp</value></property>
</bean>

Return to article