org.scopemvc.controller.servlet.xml
Class XSLScopeServlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--org.scopemvc.controller.servlet.ScopeServlet
                    |
                    +--org.scopemvc.controller.servlet.xml.XSLScopeServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public abstract class XSLScopeServlet
extends ScopeServlet

A ScopeServlet for use in webapps that use org.scopemvc.view.servlet.xml: this initialises the SystemID of AbstractXSLPage to point to the root of the deployed web archive, which is where all XSL files are referenced from. Also installs a XSLServletContext.

Version:
$Revision: 1.7 $ $Date: 2002/09/05 15:41:51 $
Author:
Beat Glattfelder
, Steve Meyfroidt
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.scopemvc.controller.servlet.ScopeServlet
ScopeServlet.SharedControllerFactory
 
Field Summary
 
Fields inherited from class org.scopemvc.controller.servlet.ScopeServlet
CONTROL_PARAM, sharedControllerPool, VALIDATION_FAILURES, VIEW_ID_PARAM
 
Constructor Summary
XSLScopeServlet()
           
 
Method Summary
protected  ServletContext createServletContext(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, java.util.HashMap inFormParameters)
          TODO: document the method
 void init(javax.servlet.ServletConfig config)
          Initialise the XSL SystemID relative to the web archive.
 
Methods inherited from class org.scopemvc.controller.servlet.ScopeServlet
createApplicationController, createControl, doGet, doPost, findDefaultPage, findPageByID, findViewID, getFormParameters, handleRequest, handleValidationFailures, initSharedControllerPool, redirect
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSLScopeServlet

public XSLScopeServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Initialise the XSL SystemID relative to the web archive.

Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Parameters:
config - TODO: Describe the Parameter
Throws:
javax.servlet.ServletException - TODO: Describe the Exception

createServletContext

protected ServletContext createServletContext(javax.servlet.http.HttpServletRequest req,
                                              javax.servlet.http.HttpServletResponse resp,
                                              java.util.HashMap inFormParameters)
TODO: document the method

Specified by:
createServletContext in class ScopeServlet
Parameters:
req - TODO: Describe the Parameter
resp - TODO: Describe the Parameter
inFormParameters - TODO: Describe the Parameter
Returns:
TODO: Describe the Return Value


Copyright © 2000-2002 The Scope Team. All Rights Reserved.