org.locomotive.module.base
Class RegistrationServlet
java.lang.Object
|
+--javax.servlet.GenericServlet
|
+--javax.servlet.http.HttpServlet
|
+--org.locomotive.loco.servlet.LocoServlet
|
+--org.locomotive.module.base.RegistrationServlet
- public class RegistrationServlet
- extends LocoServlet
A sample Registration form servlet. Allows new users to sign up
on the User Management System managed by the Locomotive. To use this
as a separate module add it to your hrt.conf file. An example would
be:
reg org.locomotive.module.base.RegistrationServlet
- See Also:
- Serialized Form
Fields inherited from class org.locomotive.loco.servlet.LocoServlet |
conn,
DEBUG,
ERROR,
form_data,
NORMAL,
req,
resp,
session,
steam_vars,
url_tokens,
user,
WARNING |
Method Summary |
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
BaseServlet will forward to this Servlet if the url_tokens are
"/base?reg" |
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete,
doOptions,
doPut,
doTrace,
getLastModified,
service |
Methods inherited from class javax.servlet.GenericServlet |
destroy,
getInitParameter,
getInitParameterNames,
getServletConfig,
getServletContext,
getServletInfo,
init,
init,
log,
log |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
RegistrationServlet
public RegistrationServlet()
doGet
public void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
- BaseServlet will forward to this Servlet if the url_tokens are
"/base?reg"
- Overrides:
- doGet in class javax.servlet.http.HttpServlet
doPost
public void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
- doPost in class javax.servlet.http.HttpServlet