FileDocCategorySizeDatePackage
SaveEmployeeAction.javaAPI DocExample798Wed Aug 25 17:23:24 BST 2004com.oreilly.strutsckbk.ch05

SaveEmployeeAction

public class SaveEmployeeAction 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();
		
		// Copy to business object from ActionForm
		BeanUtils.copyProperties( emp, form );

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