Showing posts with label Spring view resolvers. Show all posts
Showing posts with label Spring view resolvers. Show all posts
Sunday, December 8, 2013
Zero Effort Spring
Java, J2EE, Struts, Hibernate, Web Services, JSF
about spring framework,
Spring Framework,
Spring vedieo tutorials,
Spring view resolvers
Saturday, November 9, 2013
List of View Resolvers in Spring MVC
In Spring MVC, view resolvers enable you to render models in a browser without tying you to a specific view technology like JSP, Velocity, XML…etc.
There are two interfaces that are important to the way Spring handles views areViewResolver and View. The View Resolver provides a mapping between view names and actual views. The View interface addresses the preparation of the request and hands the request over to one of the view technologies.
Below are the important view resolvers provided by spring framework:
There are two interfaces that are important to the way Spring handles views areViewResolver and View. The View Resolver provides a mapping between view names and actual views. The View interface addresses the preparation of the request and hands the request over to one of the view technologies.
Below are the important view resolvers provided by spring framework:
- AbstractCachingViewResolver : Abstract view resolver that caches views. Often views need preparation before they can be used; extending this view resolver provides caching.
- XmlViewResolver : Implementation of ViewResolver that accepts a configuration file written in XML with the same DTD as Spring’s XML bean factories. The default configuration file is /WEB-INF/views.xml.
Java, J2EE, Struts, Hibernate, Web Services, JSF
AbstractCachingViewResolver in spring mvc,
Java tutorials,
Spring Tutorials,
Spring view resolvers,
XmlViewResolver in spring mvc
Subscribe to:
Posts (Atom)