To make it clearer, if I have the following methods:

create - just displays the form with empty fields.
edit   - reads registration data from db and displays the form
save   - save registration data to/back to the db

The RegAction (a DispatchAction) implements all three methods. In the
JSP I have 
<html:form action="/editReg.do">
        <html:hidden property='method'>

</html:form>

Since in my form I need to distinguish between 'create' and 'edit' when
RegAction.save() finds a validation error it needs to forward back to
the input page and add the '?method=edit' part, I guess?

Could someone shed some light here, I am bit lost.
Thanks,
Erez



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

Reply via email to