Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.acs.damsel.client.login
Class LoginAction  view LoginAction download LoginAction.java

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended byorg.acs.damsel.client.login.LoginAction

public class LoginAction
extends org.apache.struts.action.Action

Extracts username and password from the login form, request user object from the database, and returns errors if login is not successful otherwise links to the discovery page


Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
LoginAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping actionMapping, org.apache.struts.action.ActionForm actionForm, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
          Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it), with provision for handling exceptions thrown by the business logic.
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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 actionMapping,
                                                      org.apache.struts.action.ActionForm actionForm,
                                                      javax.servlet.http.HttpServletRequest httpServletRequest,
                                                      javax.servlet.http.HttpServletResponse httpServletResponse)
Description copied from class: org.apache.struts.action.Action

Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it), with provision for handling exceptions thrown by the business logic. Return an org.apache.struts.action.ActionForward instance describing where and how control should be forwarded, or null if the response has already been completed.