com.interface21.web.servlet.view
Class JstlView

java.lang.Object
  |
  +--com.interface21.context.support.ApplicationObjectSupport
        |
        +--com.interface21.web.servlet.view.AbstractView
              |
              +--com.interface21.web.servlet.view.InternalResourceView
                    |
                    +--com.interface21.web.servlet.view.JstlView
All Implemented Interfaces:
ApplicationContextAware, View

public class JstlView
extends InternalResourceView

Specialization of InternalResourceView for JSTL pages, i.e. JSP pages that use the JSP Standard Tag Library.

Exposes JSTL-specific request attributes specifying locale and resource bundle for JSTL's formatting and message tags, using Spring's locale and message source.

Since:
27.02.2003
Author:
Juergen Hoeller

Field Summary
static java.lang.String REQUEST_SCOPE_PREFIX
           
 
Fields inherited from class com.interface21.context.support.ApplicationObjectSupport
logger
 
Constructor Summary
JstlView()
           
 
Method Summary
protected  void exposeModelsAsRequestAttributes(java.util.Map model, javax.servlet.http.HttpServletRequest request)
          Expose the models in the given map as request attributes.
 
Methods inherited from class com.interface21.web.servlet.view.InternalResourceView
getUrl, initApplicationContext, renderMergedOutputModel, setUrl
 
Methods inherited from class com.interface21.web.servlet.view.AbstractView
addStaticAttribute, getContentType, getName, getStaticAttributes, render, setAttributes, setAttributesCSV, setContentType, setName, setRequestContextAttribute
 
Methods inherited from class com.interface21.context.support.ApplicationObjectSupport
getApplicationContext, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REQUEST_SCOPE_PREFIX

public static final java.lang.String REQUEST_SCOPE_PREFIX
Constructor Detail

JstlView

public JstlView()
Method Detail

exposeModelsAsRequestAttributes

protected void exposeModelsAsRequestAttributes(java.util.Map model,
                                               javax.servlet.http.HttpServletRequest request)
                                        throws javax.servlet.ServletException
Description copied from class: InternalResourceView
Expose the models in the given map as request attributes. Names will be taken from the map. This method is suitable for all resources reachable by RequestDispatcher.
Overrides:
exposeModelsAsRequestAttributes in class InternalResourceView
Following copied from class: com.interface21.web.servlet.view.InternalResourceView
Parameters:
model - Map of models to expose
request - HttpServletRequest to preprocess.


Rod Johnson and Spring contributors 2001-2003.