RE: [Struts 1.1] How to access to MessageRessources in an ActionForm ??

2002-12-17 Thread Arnaud HERITIER
; 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

RE: [Struts 1.1] How to access to MessageRessources in an ActionForm ??

2002-12-17 Thread Toni
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

[Struts 1.1] How to access to MessageRessources in an ActionForm ??

2002-12-17 Thread Arnaud HERITIER
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