com.uoc.tfc.UI.struts.action.autenticacio
Class LoginAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.apache.struts.actions.DispatchAction
          extended by com.uoc.tfc.UI.struts.action.autenticacio.LoginAction

public class LoginAction
extends org.apache.struts.actions.DispatchAction


Constructor Summary
LoginAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward canviContrasenya(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Actualitza contrasenya
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Arribem a aqueste mètode cada cop que s'executa el form
 
Methods inherited from class org.apache.struts.action.Action
execute, getServlet, setServlet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginAction

public LoginAction()
Method Detail

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
Arribem a aqueste mètode cada cop que s'executa el form

Overrides:
execute in class org.apache.struts.actions.DispatchAction
Parameters:
mapping -
form -
request -
response -
Returns:
ActionForward

canviContrasenya

public org.apache.struts.action.ActionForward canviContrasenya(org.apache.struts.action.ActionMapping mapping,
                                                               org.apache.struts.action.ActionForm form,
                                                               javax.servlet.http.HttpServletRequest request,
                                                               javax.servlet.http.HttpServletResponse response)
Actualitza contrasenya

Parameters:
mapping -
form -
request -
response -
Returns:
ActionForward