com.tivoli.am.eb.web.eaidemo
Class EAIConfigServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.tivoli.am.eb.web.eaidemo.EAIConfigServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class EAIConfigServlet
- extends javax.servlet.http.HttpServlet
- implements javax.servlet.Servlet
A servlet that responds to the configuration form, and sets appropriate
configuration values.
- Author:
- Tivoli Systems
- See Also:
- Serialized Form
Method Summary |
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Processes the information provided in a GET request to this servlet. |
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Processes the information provided in a POST request to this servlet. |
void |
init()
Gets the server config file out of the application context. |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.Servlet |
destroy, getServletConfig, getServletInfo, init, service |
EAIConfigServlet
public EAIConfigServlet()
init
public void init()
throws javax.servlet.ServletException
- Gets the server config file out of the application context.
- Overrides:
init
in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
doGet
protected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
- Processes the information provided in a GET request to this servlet.
All key-value pairs are stored back into a properties file for use
by the other servlets.
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
doPost
protected void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
- Processes the information provided in a POST request to this servlet.
All key-value pairs are stored back into a properties file for use
by the other servlets.
- Overrides:
doPost
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
Copyright © 2004 IBM Corp. All Rights Reserved.