From tomjanofsky@yahoo.com Thu Feb 1 16:34:11 2001 Return-Path: Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 82536 invoked from network); 1 Feb 2001 16:34:11 -0000 Received: from id2.dsg-inc.com (207.86.217.2) by h31.sny.collab.net with SMTP; 1 Feb 2001 16:34:11 -0000 Received: from yahoo.com (janofsky.dsg-inc.com [207.86.217.128]) by id2.dsg-inc.com (8.9.3/8.9.3) with ESMTP id LAA17628 for ; Thu, 1 Feb 2001 11:32:25 -0500 (EST) Sender: tom@id2.dsg-inc.com Message-ID: <3A798FFA.C8CB3601@yahoo.com> Date: Thu, 01 Feb 2001 11:34:02 -0500 From: Tom Janofsky X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.4.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: struts-user@jakarta.apache.org Subject: Re: ActionError without using message resource? References: <018701c08ae0$5b586140$30d956cf@DIGITALC0041> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Good question. Is the use of ActionError and the properties file coupled? Or can you code your errors in-line? --tom > Mike Bell wrote: > > Hello, > > Is it possible to create an ActionError without using a message > resource? > At this time we don't really have a need for a message resource and > would > like to just put the error message string directly in the call. > > like: > > ActionErrors errors = new ActionErrors(); > errors.add("name", new ActionError("The Error String")); > > -Mike >