That worked.  Thanks!

-----Original Message-----
From: Steven Leija [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 18, 2005 6:12 PM
To: Struts Users Mailing List
Subject: RE: ActionMessages


Hey Justin,
 
You can create a dynamic error but still must use the properties file.
 
In your properties files have something like:
 
errors.dynamic={0}
 
and in your ActionError instance pass in, "errors.dynamic" along with your 
dynamic error message.
 
Steven

        -----Original Message----- 
        From: Justin Moore [mailto:[EMAIL PROTECTED] 
        Sent: Tue 1/18/2005 5:07 PM 
        To: Struts Users 2 (E-mail); StrutsUsersMailingList (E-mail) 
        Cc: 
        Subject: ActionMessages
        
        

        Anyone know how to pass errors from your Action to your JSP without 
having to use the resource file / ActionMessage combination.  Basically I need 
to pass a dynamically generated error message to the jsp.
        
        Your help is appreciated.
        
        -Justin
        
        ---------------------------------------------------------------------
        To unsubscribe, e-mail: [EMAIL PROTECTED]
        For additional commands, e-mail: [EMAIL PROTECTED]
        
        

Reply via email to