Re: [S2] Multiple buttons in a form

2008-02-03 Thread Jeromy Evans
hezjing wrote: Hi I have a form with multiple buttons, and my action class looks like the following, public String execute() throws Exception { if (action.equals("resetPassword")) { userService.resetPassword(user); } else if (action.equals("delete")) { use

[S2] Multiple buttons in a form

2008-02-03 Thread hezjing
Hi I have a form with multiple buttons, and my action class looks like the following, public String execute() throws Exception { if (action.equals("resetPassword")) { userService.resetPassword(user); } else if (action.equals("delete")) { userService.delete(use