org.enhydra.barracuda.examples.xmlc
Class TemplateTableServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.enhydra.barracuda.core.comp.helper.ComponentGateway
org.enhydra.barracuda.examples.xmlc.TemplateTableServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class TemplateTableServlet
- extends ComponentGateway
Here's an example of how the component stuff can be implemented
in a standalone servlet.
- See Also:
- Serialized Form
Field Summary |
protected static org.apache.log4j.Logger |
logger
|
Methods inherited from class javax.servlet.http.HttpServlet |
doHead, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final org.apache.log4j.Logger logger
TemplateTableServlet
public TemplateTableServlet()
handleDefault
public Document handleDefault(BComponent root,
ViewContext vc,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws IOException
- Handle the default HttpRequest.
- Specified by:
handleDefault
in class ComponentGateway
- Parameters:
root
- the root component which will get rendered as a result
of this requestvc
- the ViewContext object describes what features the
client view is capable of supportingreq
- the servlet requestresp
- the servlet response
- Returns:
- the Document to be rendered
- Throws:
IOException
Copyright © 2003 BarracudaMVC.org All Rights Reserved.