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

Field Summary
 
Fields inherited from class org.apache.velocity.servlet.VelocityServlet
CONTENT_TYPE, DEFAULT_CONTENT_TYPE, DEFAULT_OUTPUT_ENCODING, REQUEST, RESPONSE
 
Constructor Summary
VelocityServlet()
           
 
Method Summary
 void init(javax.servlet.ServletConfig configuration)
          Performs initialization of this servlet.
 
Methods inherited from class webwork.view.velocity.WebWorkVelocityServlet
init, service
 
Methods inherited from class org.apache.velocity.servlet.VelocityServlet
doGet, doPost, getTemplate, getTemplate
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelocityServlet

public VelocityServlet()
Method Detail

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