org.apache.velocity.tools.view.servlet
Class VelocityLayoutServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.velocity.tools.view.VelocityViewServlet
              extended by org.apache.velocity.tools.view.VelocityLayoutServlet
                  extended by org.apache.velocity.tools.view.servlet.VelocityLayoutServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

Deprecated. This has moved to VelocityLayoutServlet

@Deprecated
public class VelocityLayoutServlet
extends VelocityLayoutServlet

Version:
$Id: VelocityLayoutServlet.java 511959 2007-02-26 19:24:39Z nbubna $
Author:
Nathan Bubna
See Also:
Serialized Form

Field Summary
private  VelocityView view
          Deprecated.  
 
Fields inherited from class org.apache.velocity.tools.view.VelocityLayoutServlet
DEFAULT_DEFAULT_LAYOUT, DEFAULT_ERROR_TEMPLATE, DEFAULT_LAYOUT_DIR, defaultLayout, errorTemplate, KEY_ERROR_CAUSE, KEY_ERROR_INVOCATION_EXCEPTION, KEY_ERROR_STACKTRACE, KEY_LAYOUT, KEY_SCREEN_CONTENT, layoutDir, PROPERTY_DEFAULT_LAYOUT, PROPERTY_ERROR_TEMPLATE, PROPERTY_LAYOUT_DIR
 
Fields inherited from class org.apache.velocity.tools.view.VelocityViewServlet
BUFFER_OUTPUT_PARAM
 
Constructor Summary
VelocityLayoutServlet()
          Deprecated.  
 
Method Summary
protected  VelocityView getVelocityView()
          Deprecated. Overrides parent to ensure each VVS instance has it's own separate configuration, just like in Tools 1.x.
 void init(javax.servlet.ServletConfig config)
          Deprecated. Initializes Velocity, the view servlet and checks for changes to the initial layout configuration.
 
Methods inherited from class org.apache.velocity.tools.view.VelocityLayoutServlet
error, fillContext, findLayout, mergeTemplate
 
Methods inherited from class org.apache.velocity.tools.view.VelocityViewServlet
createContext, doGet, doPost, doRequest, findInitParameter, getLog, getTemplate, getTemplate, getVelocityProperty, handleRequest, manageResourceNotFound, requestCleanup, setContentType, setVelocityView
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, 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
 

Field Detail

view

private transient VelocityView view
Deprecated. 
Constructor Detail

VelocityLayoutServlet

public VelocityLayoutServlet()
Deprecated. 
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Deprecated. 
Description copied from class: VelocityLayoutServlet
Initializes Velocity, the view servlet and checks for changes to the initial layout configuration.

Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class VelocityLayoutServlet
Parameters:
config - servlet configuration parameters
Throws:
javax.servlet.ServletException

getVelocityView

protected VelocityView getVelocityView()
Deprecated. 
Overrides parent to ensure each VVS instance has it's own separate configuration, just like in Tools 1.x.

Overrides:
getVelocityView in class VelocityViewServlet


Copyright (c) 2003-2007 Apache Software Foundation