com.qindesign.servlet.example
Class TemplateDemoServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.qindesign.servlet.example.TemplateDemoServlet
- All Implemented Interfaces:
- 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
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
TemplateDemoServlet
public TemplateDemoServlet()
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
© 2001-2007 Shawn Silverman