edu.mssm.crover.scentral
Class RegistrationDesk

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--edu.mssm.crover.scentral.RegistrationDesk
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class RegistrationDesk
extends javax.servlet.http.HttpServlet

Servlet that handles the registration process. Presents the registration form to the user and parses it until all the required information has been provided. This servlet does not require a session. It is usually invoked when none is available. When it is invoked with a session, the information in the session is used to fill in the original form. The user can then update this information and submit again to update his/her record.

See Also:
Serialized Form

Field Summary
static java.lang.String title
           
 
Constructor Summary
RegistrationDesk()
           
 
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)
           
 long getLastModified(javax.servlet.http.HttpServletRequest request)
           
 org.apache.ecs.Element recordElement(java.lang.String name, java.lang.String description, org.apache.ecs.Element editor, boolean required)
           
 org.apache.ecs.Element sendElement(java.lang.String submit, java.lang.String action, java.lang.String text)
           
 org.apache.ecs.Element separatorElement(java.lang.String description)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

title

public static java.lang.String title
Constructor Detail

RegistrationDesk

public RegistrationDesk()
Method Detail

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws java.io.IOException,
                   javax.servlet.ServletException
Overrides:
doPost in class javax.servlet.http.HttpServlet
java.io.IOException
javax.servlet.ServletException

getLastModified

public long getLastModified(javax.servlet.http.HttpServletRequest request)
Overrides:
getLastModified in class javax.servlet.http.HttpServlet

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws java.io.IOException,
                  javax.servlet.ServletException
Overrides:
doGet in class javax.servlet.http.HttpServlet
java.io.IOException
javax.servlet.ServletException

recordElement

public org.apache.ecs.Element recordElement(java.lang.String name,
                                            java.lang.String description,
                                            org.apache.ecs.Element editor,
                                            boolean required)

separatorElement

public org.apache.ecs.Element separatorElement(java.lang.String description)

sendElement

public org.apache.ecs.Element sendElement(java.lang.String submit,
                                          java.lang.String action,
                                          java.lang.String text)


Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.