org.apache.velocity.tools.view.servlet
VelocityLayoutServlet
@Deprecated public class VelocityLayoutServlet extends VelocityLayoutServlet
Modifier and Type | Field and Description |
---|---|
private VelocityView |
view
Deprecated.
|
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
BUFFER_OUTPUT_PARAM
Constructor and Description |
---|
VelocityLayoutServlet()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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.
|
error, fillContext, findLayout, mergeTemplate
createContext, doGet, doPost, doRequest, findInitParameter, getLog, getTemplate, getTemplate, getVelocityProperty, handleRequest, manageResourceNotFound, requestCleanup, setContentType, setVelocityView
private transient VelocityView view
public void init(ServletConfig config) throws ServletException
VelocityLayoutServlet
init
in class VelocityLayoutServlet
config
- servlet configuration parametersServletException
protected VelocityView getVelocityView()
getVelocityView
in class VelocityViewServlet
Copyright (c) 2003-2007 Apache Software Foundation