org.sourcejammer.web.servlet
Class AppConfigInitServlet
org.sourcejammer.web.servlet.AppConfigInitServlet
- public class AppConfigInitServlet
Title: SourceJammer v 0.1.0
Description:
Copyright: Copyright (c) 2001
Company:
Field Summary |
static java.lang.String |
BASE_PATH_INIT_PARAM
Servlet initialization parameter that specifies the base configuration path. |
Method Summary |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
init(javax.servlet.ServletConfig config)
Initialize global variables and load the configuration information. |
protected void |
process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Reload the system configuration information and send back a notification to the user. |
BASE_PATH_INIT_PARAM
public static final java.lang.String BASE_PATH_INIT_PARAM
- Servlet initialization parameter that specifies the base configuration path.
AppConfigInitServlet
public AppConfigInitServlet()
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Initialize global variables and load the configuration information.
- Parameters:
config
- configuration data for the servlet from the web.xml file.- Throws:
org.sourcejammer.web.servlet.ServletException
- thrown when there is an exception processing the
configuration data.
doGet
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
doPost
public void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
process
protected void process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Reload the system configuration information and send back a notification to the user.
- Parameters:
request
- HTTP object holding the request from the user.response
- HTTP response object - used to send back the response to the user.- Throws:
org.sourcejammer.web.servlet.ServletException
- thrown when there is a general exception while the
servlet is processing the request.java.io.IOException
- thrown when there is a I/O error while the servlet is processing
the request.