com.Servlet
Class Subscribe

java.lang.Object
  extended by HttpServlet
      extended by com.Servlet.Subscribe

public class Subscribe
extends HttpServlet

Servlet de souscription à l'application.

Version:
1.0
Author:
emla

Constructor Summary
Subscribe()
           
 
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
 

Constructor Detail

Subscribe

public Subscribe()
Method Detail

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 client
pass - le mot de pass du futur client