Rick Reumann ([EMAIL PROTECTED]) wrote: > On Fri, 14 Mar 2003 15:47:57 -0600 > Dan Allen <[EMAIL PROTECTED]> wrote: > > > How do most of you handle this? Do you create a validateData() > > method in your Action class or is this something that the Model > > objects should be able to handle? > > Assuming you have the data in the correct form when you're action form > is populated, any other validation I believe should be done in the > business layer and throw an appropriate Exception which the action can > then handle.
Excellent guidance. I will run with that for sure. Dan -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Daniel Allen, <[EMAIL PROTECTED]> http://www.mojavelinux.com/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Windows: where do you want your data to disappear to today? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]