Spring have number of view resolvers. Following criteria can be used to decide which to use.

AbstractCachingViewResolver:

If there is a need to catch views in a web application, an abstract view resolver can be used.

XmlViewResolver:

It can accepts a configuration file written in XML. The default configuration file is /WEB-INF/views.xml.

UrlBasedViewResolver:

A kind of ViewResolver used where direct resolution of symbolic view names to URLs is required.

ResourceBundleViewResolver:

If there is need to apply different view resources according to the locale.