com.tivoli.am.eb.web.eaidemo
Class EAIConfigServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended bycom.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

Constructor Summary
EAIConfigServlet()
           
 
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
 

Constructor Detail

EAIConfigServlet

public EAIConfigServlet()
Method Detail

init

public void init()
          throws javax.servlet.ServletException
Gets the server config file out of the application context.

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.

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.

Throws:
javax.servlet.ServletException
java.io.IOException


Copyright © 2004 IBM Corp. All Rights Reserved.