com.Servlet
Class Subscribe
java.lang.Object
HttpServlet
com.Servlet.Subscribe
public class Subscribe
- extends HttpServlet
Servlet de souscription à l'application.
- Version:
- 1.0
- Author:
- emla
Method Summary |
void |
destroy()
|
void |
doGet(HttpServletRequest request,
HttpServletResponse response)
|
void |
doPost(HttpServletRequest request,
HttpServletResponse response)
|
void |
envoiMail(String email,
String pass)
Permet d'envoyer un mail de confirmation. |
void |
init()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Subscribe
public Subscribe()
init
public void init()
throws ServletException
- Throws:
ServletException
doGet
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Throws:
ServletException
IOException
doPost
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Throws:
ServletException
IOException
destroy
public void destroy()
envoiMail
public void envoiMail(String email,
String pass)
- Permet d'envoyer un mail de confirmation.
- Parameters:
email
- l'adresse email du futur clientpass
- le mot de pass du futur client