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

java.lang.Object
  extended by 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

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

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(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 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(ServletConfig config)
          throws ServletException
Deprecated. 
Description copied from class: VelocityLayoutServlet
Initializes Velocity, the view servlet and checks for changes to the initial layout configuration.

Overrides:
init in class VelocityLayoutServlet
Parameters:
config - servlet configuration parameters
Throws:
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