org.apache.velocity.tools.view.servlet
Class VelocityViewServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.velocity.tools.view.VelocityViewServlet
org.apache.velocity.tools.view.servlet.VelocityViewServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
Deprecated. This class has moved to VelocityViewServlet
@Deprecated
public class VelocityViewServlet
- extends VelocityViewServlet
- Version:
- $Id: VelocityViewServlet.java 511959 2007-02-26 19:24:39Z nbubna $
- See Also:
- Serialized Form
|
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 servlet and VelocityView used to process requests. |
| Methods inherited from class org.apache.velocity.tools.view.VelocityViewServlet |
createContext, doGet, doPost, doRequest, error, fillContext, findInitParameter, getLog, getTemplate, getTemplate, getVelocityProperty, handleRequest, manageResourceNotFound, mergeTemplate, requestCleanup, setContentType, setVelocityView |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOOLBOX_KEY
protected static final String TOOLBOX_KEY
- Deprecated. toolbox key is now managed by
VelocityView
- See Also:
- Constant Field Values
DEFAULT_TOOLBOX_PATH
protected static final String DEFAULT_TOOLBOX_PATH
- Deprecated. Default path is now managed by
VelocityView
- See Also:
- Constant Field Values
VelocityViewServlet
public VelocityViewServlet()
- Deprecated.
init
public void init(ServletConfig config)
throws ServletException
- Deprecated.
- Description copied from class:
VelocityViewServlet
Initializes servlet and VelocityView used to process requests.
Called by the servlet container on loading.
- Specified by:
init in interface Servlet- Overrides:
init in class VelocityViewServlet
- Parameters:
config - servlet configuation
- 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.