Hi Craig, > OK, now I see what you are after. I'm modifying the logic of processValidate() > to do the following basic steps: > * If there is no form bean, skip validation > * If the request was cancelled, skip validation > * Call the validate method: > * If no errors, continue normal request handling > by calling the action etc. > * (At this point, we know a validate error occurred) > * If this is a multipart request, roll it back > * If there is no input form defined, report an error 500 > because the application is mis-configured (a form bean > is defined, but no input page to return to) > > Does that sound right? Excellent. I think you should add an attribute to enable/disable automatic rollback for multipart forms (when someone upload a few MB file and it failed because his upload logon is invalid, that's cool to let him a second chance to enter the logon (in the "input" page) without resubmiting the file...) and it will be perfect. Pierre Métras
- Re: Moving from 0.5 to 1.0: an experience Luke Taylor
- HttpSession.getAttribute() missing? Mike Campbell
- Re: HttpSession.getAttribute() missing? Craig R. McClanahan
- Re: HttpSession.getAttribute() missing? Mike Campbell
- Re: HttpSession.getAttribute() missin... Craig R. McClanahan
- Re: HttpSession.getAttribute() missing? Jim Richards
- Re: Moving from 0.5 to 1.0: an experience Pierre Métras
- Re: Moving from 0.5 to 1.0: an experience Craig R. McClanahan
- Re: Moving from 0.5 to 1.0: an experience... Pierre Métras
- Re: Moving from 0.5 to 1.0: an experi... Craig R. McClanahan
- Re: Moving from 0.5 to 1.0: an e... Pierre Métras
- Re: Moving from 0.5 to 1.0: an e... Jean-Baptiste Nizet
- Re: Moving from 0.5 to 1.0: ... Pierre Métras
- When Oh When Do We Validate?... Craig R. McClanahan
- Re: When Oh When Do We Valid... Pierre Métras
- Re: When Oh When Do We Valid... Jean-Baptiste Nizet
- Re: When Oh When Do We Valid... Jim Newsham
- Re: When Oh When Do We Valid... Craig R. McClanahan
- Re: Moving from 0.5 to 1.0: an experi... Craig R. McClanahan
- Re: Moving from 0.5 to 1.0: an e... Pierre Métras
- Old questions that die hard Jim Richards