com.ibm.websphere.samples.appprofile.accountmanagementwar
Class AccountManagementServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.ibm.websphere.samples.appprofile.accountmanagementwar.AccountManagementServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class AccountManagementServlet
extends javax.servlet.http.HttpServlet

The AccountManagementServlet is the client progeam of Application Profile Account Management sample.

Since:
04/15/2002
See Also:
Serialized Form

Constructor Summary
AccountManagementServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Handle get request
 void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Handle post request
 void init()
           
 
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
 

Constructor Detail

AccountManagementServlet

public AccountManagementServlet()
Method Detail

init

public void init()
          throws javax.servlet.ServletException
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

doPost

public void doPost(javax.servlet.http.HttpServletRequest req,
                   javax.servlet.http.HttpServletResponse res)
            throws javax.servlet.ServletException,
                   java.io.IOException
Handle post request

Overrides:
doPost in class javax.servlet.http.HttpServlet
Parameters:
req - inbound HttpServletRequest object
res - outbound HttpServletResponse object
Throws:
javax.servlet.ServletException
java.io.IOException

doGet

public void doGet(javax.servlet.http.HttpServletRequest req,
                  javax.servlet.http.HttpServletResponse res)
           throws javax.servlet.ServletException,
                  java.io.IOException
Handle get request

Overrides:
doGet in class javax.servlet.http.HttpServlet
Parameters:
req - inbound HttpServletRequest object
res - outbound HttpServletResponse object
Throws:
javax.servlet.ServletException
java.io.IOException