struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Toni" <t...@fdplus.com>
Subject RE: [Struts 1.1] How to access to MessageRessources in an ActionForm ??
Date Tue, 17 Dec 2002 15:00:54 GMT
Try this: 
MessageResources msgres = getServlet().getResources();


-----Original Message-----
From: Arnaud HERITIER [mailto:aheritier@sopragroup.com] 
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 : aheritier@sopragroup.com
  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:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message