Developer's Daily Java Education - Test Projects
  front page | java | perl | unix | DevDirectory
   
Front Page
Java
Education
   
 


package com.devdaily.strutstest.action;

import java.io.IOException;
import javax.servlet.http.*;
import javax.servlet.ServletException;

import org.apache.struts.action.*;

import com.devdaily.strutstest.form.LoginForm;

public class LoginAction extends Action
{

  public ActionForward perform(ActionMapping mapping,
                               ActionForm form,
                               HttpServletRequest request,
                               HttpServletResponse response)
  throws IOException, ServletException
  {
    System.err.println( " Entered LoginAction.perform ..." );
    LoginForm userForm = (LoginForm) form;
    return mapping.findForward("success");
  }
}
Copyright 1998-2003 DevDaily Interactive, Inc.
All Rights Reserved.