com.caucho.servlets.ssi
Class SSIServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.caucho.servlets.ssi.SSIServlet
All Implemented Interfaces:
java.io.Serializable, Servlet, ServletConfig

public class SSIServlet
extends HttpServlet

Serves server-side include files.

See Also:
Serialized Form

Constructor Summary
SSIServlet()
           
 
Method Summary
 void doGet(HttpServletRequest request, HttpServletResponse response)
          Process a GET or HEAD request
 void init()
          Initialize the servlet.
 void setFactory(SSIFactory factory)
          Set's the SSIFactory, default is a factory that handles the standard Apache SSI commands.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SSIServlet

public SSIServlet()
Method Detail

setFactory

public void setFactory(SSIFactory factory)
Set's the SSIFactory, default is a factory that handles the standard Apache SSI commands.


init

public void init()
          throws ServletException
Description copied from class: GenericServlet
Initialize the servlet. Servlets should override this method if they need any initialization like opening pooled database connections.

Overrides:
init in class GenericServlet
Throws:
ServletException

doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws ServletException,
                  java.io.IOException
Description copied from class: HttpServlet
Process a GET or HEAD request

Overrides:
doGet in class HttpServlet
Parameters:
request - the client request
response - response to the client
Throws:
ServletException
java.io.IOException