[EMAIL PROTECTED] writes:

> Could someone give a code snippet that I can use to invoke
> the reset method on an actionForm from my Action code?

public class YourAction extends Action
{
    public ActionForward perform(ActionMapping mapping,
                                 ActionForm form,
                                 HttpServletRequest request,
                                 HttpServletResponse response)
        throws ServletException
    {
        form.reset(mapping, request);
        return mapping.findForward("success");
    }
}


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to