It works but it is a deprecated method in 1.1 Is anyone know the workaround in 1.1 ???
> -----Message d'origine----- > De : Toni [mailto:[EMAIL PROTECTED]] > Envoyé : mardi 17 décembre 2002 16:01 > À : 'Struts Users Mailing List'; [EMAIL PROTECTED] > Objet : RE: [Struts 1.1] How to access to MessageRessources in an > ActionForm ?? > > > Try this: > MessageResources msgres = getServlet().getResources(); > > > -----Original Message----- > From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 17, 2002 6:32 AM > To: Struts Users Mailing List (E-mail) > Subject: [Struts 1.1] How to access to MessageRessources in an > ActionForm ?? > > > Hi all! > > I have a question about Struts 1.1. > > I would like to access to the default MessageRessources instance I use > in my web app in the validate method of an ActionForm. How > can I do that > ?? I didn't do it up to now and I don't find a solution. > > Any ideas ?? > > > Arnaud HERITIER > EAI Consulting > Sopra Group > Tél. : +33 (0)1 53 33 44 74 > email : [EMAIL PROTECTED] > Ce message est exclusivement destiné aux personnes dont le > nom figure > ci-dessus. Il peut contenir des informations confidentielles dont la > divulgation est à ce titre rigoureusement interdite. Dans > l'hypothèse où > vous avez reçu ce message par erreur, merci de le renvoyer à l'adresse > e-mail ci-dessus et de détruire toute copie. > > This message may contain confidential and proprietary > material for the > sole use of the intended recipient. Any review or > distribution by others > is strictly prohibited. If you are not the intended recipient, please > contact the sender and delete all copies. > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>