Tynamo™-TINI
v1.0.4

com.qindesign.servlet.example
Class TemplateDemoServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.qindesign.servlet.example.TemplateDemoServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig, SingleThreadModel

public class TemplateDemoServlet
extends HttpServlet
implements SingleThreadModel

Demonstrates a simple template engine. This allows the user to create and process templates on the fly.

Version:
1.0.4
Author:
Shawn Silverman
See Also:
Template, Serialized Form

Constructor Summary
TemplateDemoServlet()
           
 
Method Summary
protected  void doGet(HttpServletRequest req, HttpServletResponse resp)
          Calls the POST handler.
protected  void doPost(HttpServletRequest req, HttpServletResponse resp)
          The POST handler.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doOptions, doPut, doTrace, 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
 

Constructor Detail

TemplateDemoServlet

public TemplateDemoServlet()
Method Detail

doGet

protected void doGet(HttpServletRequest req,
                     HttpServletResponse resp)
              throws ServletException,
                     IOException
Calls the POST handler.

Overrides:
doGet in class HttpServlet
Throws:
ServletException
IOException

doPost

protected void doPost(HttpServletRequest req,
                      HttpServletResponse resp)
               throws ServletException,
                      IOException
The POST handler.

Overrides:
doPost in class HttpServlet
Throws:
ServletException
IOException

Tynamo™-TINI
v1.0.4

© 2001-2007 Shawn Silverman