public class GlobalConfServlet
extends javax.servlet.http.HttpServlet
This servlet sets a session object with the client's IP address, and delivers a web page to the client.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
DEP_LIST
Class dependencies
|
static java.lang.String |
VERSION
Class version
|
| Constructor and Description |
|---|
GlobalConfServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Clean up before unloading the servlet.
|
protected void |
doGet(javax.servlet.http.HttpServletRequest rqst,
javax.servlet.http.HttpServletResponse resp) |
java.lang.String |
getServletInfo()
Get information about the servlet.
|
void |
init(javax.servlet.ServletConfig config)
Initialize the servlet.
|
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicepublic static final java.lang.String VERSION
public static final java.lang.String[] DEP_LIST
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletconfig - Servlet configuration objectjavax.servlet.ServletExceptionpublic java.lang.String getServletInfo()
getServletInfo in interface javax.servlet.ServletgetServletInfo in class javax.servlet.GenericServletpublic void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServletprotected void doGet(javax.servlet.http.HttpServletRequest rqst,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionjava.io.IOException