org.apache.catalina.ssi
Class SSIServlet
HttpServlet
org.apache.catalina.ssi.SSIServlet
public class SSIServlet
extends HttpServlet
Servlet to process SSI requests within a webpage. Mapped to a path from
within web.xml.
Version:
- Bip Thelin
- Amy Roh
- Dan Sandberg
protected boolean | buffered - Should the output be buffered.
|
protected int | debug - Debug level for this servlet.
|
protected Long | expires - Expiration time in seconds for the doc.
|
protected boolean | isVirtualWebappRelative - virtual path can be webapp-relative
|
void | doGet(HttpServletRequest req, HttpServletResponse res) - Process and forward the GET request to our
requestHandler() *
|
void | doPost(HttpServletRequest req, HttpServletResponse res) - Process and forward the POST request to our
requestHandler() .
|
void | init() - Initialize this servlet.
|
protected void | processSSI(HttpServletRequest req, HttpServletResponse res, URL resource)
|
protected void | requestHandler(HttpServletRequest req, HttpServletResponse res) - Process our request and locate right SSI command.
|
buffered
protected boolean buffered
Should the output be buffered.
debug
protected int debug
Debug level for this servlet.
expires
protected Long expires
Expiration time in seconds for the doc.
isVirtualWebappRelative
protected boolean isVirtualWebappRelative
virtual path can be webapp-relative
doGet
public void doGet(HttpServletRequest req,
HttpServletResponse res)
throws IOException,
ServletException
Process and forward the GET request to our requestHandler()
*
req
- a value of type 'HttpServletRequest'res
- a value of type 'HttpServletResponse'
doPost
public void doPost(HttpServletRequest req,
HttpServletResponse res)
throws IOException,
ServletException
Process and forward the POST request to our
requestHandler()
.
req
- a value of type 'HttpServletRequest'res
- a value of type 'HttpServletResponse'
init
public void init()
throws ServletException
Initialize this servlet.
processSSI
protected void processSSI(HttpServletRequest req,
HttpServletResponse res,
URL resource)
throws IOException
requestHandler
protected void requestHandler(HttpServletRequest req,
HttpServletResponse res)
throws IOException,
ServletException
Process our request and locate right SSI command.
req
- a value of type 'HttpServletRequest'res
- a value of type 'HttpServletResponse'
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.