FileDocCategorySizeDatePackage
SaveEmployeeFdAction.javaAPI DocExample947Sat Aug 07 19:59:00 BST 2004com.oreilly.strutsckbk.ch05

SaveEmployeeFdAction

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

Fields Summary
Constructors Summary
Methods Summary
public org.apache.struts.action.ActionForwardexecute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)


		Employee emp = new Employee();
        BeanUtils.copyProperties( emp, form );
		
        // Get business object from ActionForm
        //EmployeeFd emp = (EmployeeFd) FormUtils.getFormValues(form, this, mapping, request);

		request.setAttribute("employee", emp);		
		return mapping.findForward("success");