Spring Framework

Spring Projects

Spring Project 1

UrlbasedViewResolver in Spring MVC
Previous Home Next

The UrlBasedViewResolver provide the facility to map logical view name and URL directly with the view class. This view resolver using InternalResourceViewResolver which are view the page using JSP,Servlet,JstlViews and TileViews. This view resolver configure in following type:

 

<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>
Previous Home Next

Tolal:0 Click:

Show All Comments

Did not find what you were looking for leave your name and message. We will revert within 24 hours
Name:
eMail:
Comment / Feedback: