Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.scopemvc.controller.servlet.jsp
Class JSPContext  view JSPContext download JSPContext.java

java.lang.Object
  extended byorg.scopemvc.controller.basic.ViewContext
      extended byorg.scopemvc.controller.servlet.ServletContext
          extended byorg.scopemvc.controller.servlet.jsp.JSPContext

public class JSPContext
extends org.scopemvc.controller.servlet.ServletContext

A ServletContext that handles showView() for JSPView implementations by redirecting to a JSP.

Version:
$Revision: 1.6 $ $Date: 2002/01/26 09:46:20 $

Field Summary
static java.lang.String BOUND_MODEL
          Key that the JSP's bound model is stored under in the HTTPRequest for access by the JSP.
private static org.apache.commons.logging.Log LOG
           
 
Fields inherited from class org.scopemvc.controller.servlet.ServletContext
formParameters, request, response, servlet
 
Fields inherited from class org.scopemvc.controller.basic.ViewContext
properties
 
Constructor Summary
JSPContext(org.scopemvc.controller.servlet.ScopeServlet inServlet, javax.servlet.http.HttpServletRequest inRequest, javax.servlet.http.HttpServletResponse inResponse, java.util.HashMap inFormParameters)
          Create with an HttpServletResponse to use on a showView during initialisation, and a HttpServletRequest accessible to application code.
 
Method Summary
 void showView(org.scopemvc.core.View inView)
          Show the visible JSPView from the passed ServletView, after putting its bound model into the request under the BOUND_MODEL 55 key.
 
Methods inherited from class org.scopemvc.controller.servlet.ServletContext
exit, formatMessageToHTML, getFormParameters, getHttpRequest, getHttpResponse, getServlet, handleInternalError, hasShownView, hideView, setHttpResponse, showError, startProgress, stopProgress
 
Methods inherited from class org.scopemvc.controller.basic.ViewContext
addProperty, clearProperties, clearThreadContext, getProperty, getViewContext, removeProperty, setGlobalContext, setThreadContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static final org.apache.commons.logging.Log LOG

BOUND_MODEL

public static final java.lang.String BOUND_MODEL
Key that the JSP's bound model is stored under in the HTTPRequest for access by the JSP.

See Also:
Constant Field Values
Constructor Detail

JSPContext

public JSPContext(org.scopemvc.controller.servlet.ScopeServlet inServlet,
                  javax.servlet.http.HttpServletRequest inRequest,
                  javax.servlet.http.HttpServletResponse inResponse,
                  java.util.HashMap inFormParameters)
Create with an HttpServletResponse to use on a showView during initialisation, and a HttpServletRequest accessible to application code.

Method Detail

showView

public void showView(org.scopemvc.core.View inView)
Show the visible JSPView from the passed ServletView, after putting its bound model into the request under the BOUND_MODEL 55 key.