com.qindesign.servlet.example
Class LogViewerServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.qindesign.servlet.example.LogViewerServlet
- All Implemented Interfaces:
- Servlet, ServletConfig
public class LogViewerServlet
- extends HttpServlet
Example servlet that can read the server and transfer logs.
One suggestion for improvement is to make this an authenticated servlet.
- Version:
- 1.0.4
- Author:
- Shawn Silverman
LogViewerServlet
public LogViewerServlet()
init
public void init()
throws ServletException
- Find the server and transfer log files. This will run when the servlet
is loaded.
- Overrides:
init in class GenericServlet
- Throws:
ServletException
doGet
protected void doGet(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
- Process a GET request.
- Overrides:
doGet in class HttpServlet
- Throws:
ServletException
IOException
© 2001-2007 Shawn Silverman