AHA
Class Registration

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--AHA.AhaServlet
                    |
                    +--AHA.Entree
                          |
                          +--AHA.Registration

public class Registration
extends Entree

This servlet reads the parameters that the user filled in in a registration form.

See Also:
Serialized Form

Fields inherited from class AHA.Entree
passwd
 
Fields inherited from class AHA.AhaServlet
AHA, Background, Course, Host, HtDocs, Language, loginid, Logs, out, Port, referer, Title, UserModel
 
Constructor Summary
Registration()
           
 
Method Summary
protected  void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void init(javax.servlet.ServletConfig config)
          The init method reads the configured parameters which tell the servlet where to find documents, log files, background image and document title.
 void print(java.lang.Object o)
           
 void println(java.lang.Object o)
           
 void Registration(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.util.Hashtable UserModelNames)
          This method does some checks and tries to build a usermodel.
protected  void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class AHA.Entree
addAHAInformation, addSessionInformation, buildAHA, CheckOtherSessions, exists, hasGoodPasswd, prepare, readFormParameters, redirect, setPrintWriter
 
Methods inherited from class AHA.AhaServlet
getName, initService, printInfo
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doOptions, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Registration

public Registration()
Method Detail

print

public void print(java.lang.Object o)

println

public void println(java.lang.Object o)
Overrides:
println in class Entree

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
The init method reads the configured parameters which tell the servlet where to find documents, log files, background image and document title.
Throws:
javax.servlet.ServletException - Not thrown purposely by this init method, but can be generated by the init method of the superclass.
Overrides:
init in class Entree

doPost

protected void doPost(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
Overrides:
doPost in class javax.servlet.http.HttpServlet

service

protected void service(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
Overrides:
service in class Entree

Registration

public void Registration(javax.servlet.http.HttpServletRequest request,
                         javax.servlet.http.HttpServletResponse response,
                         java.util.Hashtable UserModelNames)
                  throws AhaException,
                         java.io.IOException
This method does some checks and tries to build a usermodel.