org.infoglue.cms.applications.common.actions
Class VelocityServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.velocity.servlet.VelocityServlet
webwork.view.velocity.WebWorkVelocityServlet
org.infoglue.cms.applications.common.actions.VelocityServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class VelocityServlet
- extends webwork.view.velocity.WebWorkVelocityServlet
This class puts some things into the context object that you should
be aware of (check the superclasses as well):
"ui" - the StringManagerChain handling all localized strings.
- Author:
- Patrik Nyborg
- See Also:
- Serialized Form
| Fields inherited from class webwork.view.velocity.WebWorkVelocityServlet |
log |
| Fields inherited from class org.apache.velocity.servlet.VelocityServlet |
CONTENT_TYPE, DEFAULT_CONTENT_TYPE, DEFAULT_OUTPUT_ENCODING, INIT_PROPS_KEY, REQUEST, RESPONSE |
|
Method Summary |
protected org.apache.velocity.Template |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context context)
|
void |
init(javax.servlet.ServletConfig configuration)
Performs initialization of this servlet. |
| Methods inherited from class webwork.view.velocity.WebWorkVelocityServlet |
createContext, init, service |
| Methods inherited from class org.apache.velocity.servlet.VelocityServlet |
chooseCharacterEncoding, doGet, doPost, doRequest, error, getTemplate, getTemplate, handleRequest, initVelocity, loadConfiguration, mergeTemplate, requestCleanup, setContentType |
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityServlet
public VelocityServlet()
init
public void init(javax.servlet.ServletConfig configuration)
throws javax.servlet.ServletException
- Performs initialization of this servlet. Called by the servlet container on loading.
- Specified by:
init in interface javax.servlet.Servlet- Overrides:
init in class org.apache.velocity.servlet.VelocityServlet
- Parameters:
configuration - The servlet configuration to apply.
- Throws:
javax.servlet.ServletException
handleRequest
protected org.apache.velocity.Template handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context context)
throws java.lang.Exception
- Overrides:
handleRequest in class webwork.view.velocity.WebWorkVelocityServlet
- Throws:
java.lang.Exception
Copyright © 2005 InfoGlue.org All Rights Reserved.