question about handling requests

2002-04-11 Thread Emmanuel Bridonneau
Hello all, I am confused with Struts' way of handling requests and controlling the flow. Say I have one form that handles 3 types of user events: either the user submit her form (submit btn), either she cancels her work or she wants to preview the result of her work. Suppose the actionForm valida

Re: question about handling requests

2002-04-11 Thread Victor Hadianto
In your myAction class you don't just return "success" you return to wherever you want to return, ie if (condition1) { return mapping.findForward("condition1"); } else if (condition2) { return mapping.findForward("condition2"); } return mapping.findForward("errorPage"); In yo