You might want to check Globals.MESSAGES_KEY

although this isn't how I understood the MessageResources to
work, I thought the ActionMessages was stored in the request
under the Global.MESSAGES_KEY and not the MessageResources...

anybody else?


> -----Original Message-----
> From: Scott Purcell [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 28, 2005 2:39 PM
> To: user@struts.apache.org
> Subject: MessageResources in ActionForm
> 
> 
> Hello,
> I am trying to obtain a MessageResources object in a 
> ActionForm and I cannot figure out how.
>  
> Prior to the new 1.2.4 struts I used this:
>  
> MessageResources resources =
>       (MessageResources)req.getAttribute( Action.MESSAGES_KEY );
>  
> But it appears depreciated, or non existant in the action class now.
>  
> Thanks,
>  
> 
> Scott K Purcell | Developer | VERTIS | 
> 555 Washington Ave. 4th Floor | St. Louis, MO 63101 | 
> 314.588.0720 Ext:1320 | [EMAIL PROTECTED] | 
> http://www.vertisinc.com <http://www.vertisinc.com/>  
> 
> Vertis is the premier provider of targeted advertising, media, and 
> marketing services that drive consumers to marketers more 
> effectively. 
>                                                  
> 
>  
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to