org.apache.velocity.tools.view.servlet
Class VelocityLayoutServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.velocity.tools.view.VelocityViewServlet
org.apache.velocity.tools.view.VelocityLayoutServlet
org.apache.velocity.tools.view.servlet.VelocityLayoutServlet
- All Implemented Interfaces:
- Serializable, 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
| 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 |
|
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.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 |
VelocityLayoutServlet
public VelocityLayoutServlet()
- Deprecated.
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.
- Specified by:
init in interface Servlet- 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 © 2002-2011 The Apache Software Foundation. All Rights Reserved.