> -----Original Message----- > From: Shane Mingins [mailto:[EMAIL PROTECTED] > > Using Struts, if I have an ActionForm implement the view > interface, how > would it create an ActionError or ActionMessage? It seems > that from an > ActionForm the validate() method can do it, and an Action can > do it but is > it possible to create an ActionError and save it from my > duplicateException() method?
Any validation logic in the ActionForm should only be basic syntactical validation, and no semantic validation. Semantic validation belongs in your Action class, and likely in business logic called from your Action class. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]