public class LogViewerServlet
extends javax.servlet.http.HttpServlet
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
base
full path to root of web application
|
protected java.lang.String |
footer
HTML for footer
|
protected java.lang.String |
header
HTML for header
|
static java.lang.String |
ID
Our CVS ID
|
protected java.util.logging.Logger |
logger
Our logger
|
Constructor and Description |
---|
LogViewerServlet() |
Modifier and Type | Method and Description |
---|---|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Accept the full path to a log file as an additional URL path argument.
|
void |
init(javax.servlet.ServletConfig config)
Load configuration from web application deployment descriptor.
|
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
public static final java.lang.String ID
protected java.lang.String base
protected java.lang.String header
protected java.lang.String footer
protected java.util.logging.Logger logger
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
config
- Configuration referencejavax.servlet.ServletException
- Initialization failedpublic void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona