FileDocCategorySizeDatePackage
ViewFormAction.javaAPI DocExample859Wed Aug 25 17:08:26 BST 2004com.oreilly.strutsckbk.ch05

ViewFormAction

public class ViewFormAction 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)

		
		DynaActionForm myForm = (DynaActionForm) form;

		PropertyUtils.setSimpleProperty(myForm, "firstName", "Bill");

		myForm.set("lastName", "Siggelkow");
				
    return mapping.findForward("success");