org.keel.clients.velocity.servlet
Class KeelVelocityServlet
java.lang.Object
VelocityServlet
org.keel.clients.velocity.servlet.KeelVelocityServlet
- public class KeelVelocityServlet
- extends VelocityServlet
UI Service for Keel provided by the Velocity template mechanism.
- Version:
- $Id: KeelVelocityServlet.java,v 1.3 2003/07/03 16:57:33 mprn Exp $
- Author:
- , Shash Chatterjee
- See Also:
- Serialized Form
| Field Summary |
static int |
debug
|
private static Log |
log
Commons Logging instance. |
| Method Summary |
Template |
handleRequest(HttpServletRequest request, HttpServletResponse response, Context ctx)
|
protected java.util.Properties |
loadConfiguration(ServletConfig config)
Called by the VelocityServlet init(). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debug
public static int debug
-
log
private static Log log
-
Commons Logging instance.
KeelVelocityServlet
public KeelVelocityServlet()
loadConfiguration
protected java.util.Properties loadConfiguration(ServletConfig config)
throws java.io.IOException,
java.io.FileNotFoundException
-
Called by the VelocityServlet init().
-
- Throws:
java.io.IOException
java.io.FileNotFoundException
handleRequest
public Template handleRequest(HttpServletRequest request,
HttpServletResponse response,
Context ctx)
throws ClientException,
ModelException
-
- Parameters:
ctx - a Velocity Context object to be filled with data. Will be used for rendering this template
- Returns:
- Template to be used for request
- Throws:
ClientException
ModelException
Please see keelframework.org for information about new Keel releases.