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,javax.servlet.Servlet,javax.servlet.ServletConfig
@Deprecated public class VelocityLayoutServlet extends VelocityLayoutServlet
Deprecated.This has moved toVelocityLayoutServlet- Version:
- $Id: VelocityLayoutServlet.java 511959 2007-02-26 19:24:39Z nbubna $
- Author:
- Nathan Bubna
- See Also:
- Serialized Form
-
-
Field Summary
-
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
Constructors Constructor Description VelocityLayoutServlet()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected VelocityViewgetVelocityView()Deprecated.Overrides parent to ensure each VVS instance has it's own separate configuration, just like in Tools 1.x.voidinit(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
-
-
-
-
Method Detail
-
init
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletExceptionDeprecated.Description copied from class:VelocityLayoutServletInitializes Velocity, the view servlet and checks for changes to the initial layout configuration.- Specified by:
initin interfacejavax.servlet.Servlet- Overrides:
initin classVelocityLayoutServlet- 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:
getVelocityViewin classVelocityViewServlet
-
-