Hi, What we have done in our application is created a busniess logic bean, so we create the instance of this bean in Action class and then get an ArrayList of all the messages ( error or display) and then put these messages in ActionErrors in Action class and forward it to jsp So we keep the business logic and struts totally independent
Ashish --- Dan Allen <[EMAIL PROTECTED]> wrote: > Naturally all screening of data should be done by > the > ActionForm/Validator interface, but when it comes > time to looking > for duplicate usernames/emails or other such > business conflicts, > this must be done in the business logic layer. > > 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? > > 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] > __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]