com.interface21.web.servlet
Interface ViewResolver

All Superinterfaces:
ApplicationContextAware
All Known Implementing Classes:
AbstractCachingViewResolver, BeanNameViewResolver

public interface ViewResolver
extends ApplicationContextAware


Method Summary
 View resolveViewName(java.lang.String viewName, java.util.Locale locale)
          Resolve the given view by name.
 
Methods inherited from interface com.interface21.context.ApplicationContextAware
setApplicationContext
 

Method Detail

resolveViewName

public View resolveViewName(java.lang.String viewName,
                            java.util.Locale locale)
                     throws javax.servlet.ServletException
Resolve the given view by name.
Parameters:
viewName - name of the view to resolve
locale - Locale in which to resolve the view. ViewResolvers that support internationalization should respect this.
Throws:
javax.servlet.ServletException - if the view cannot be resolved.


Rod Johnson and Spring contributors 2001-2003.