> -----Original Message----- > From: Jan Behrens [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 9:44 AM > To: 'Struts Users Mailing List' > Subject: RE: Access to message properties from within application > > > Thanks Jim, > > RTFM I did (yoda would say ;) What I want to do though, is access the > localized messages from within my application code - not from > within my > JSP's or Servlets but out of my logic. I could not find > anything on this in > the manual yet. Am I beeing completely ignorant not seeing > the obvious, or > is this not that easy?
Ah.... in that case. you are reading the wrong FM, you probably want the J2SE documentation, and are looking for MessageFormat. I assume that you have found and don't want to use org.apache.struts.util.MessageResources for this. > > Thanks, Jan > > -----Original Message----- > From: Jim Barrows [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 6:20 PM > To: Struts Users Mailing List > Subject: RE: Access to message properties from within application > > > > > -----Original Message----- > > From: Jan Behrens [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, July 14, 2004 9:20 AM > > To: 'Struts Users Mailing List' > > Subject: RE: Access to message properties from within application > > > > > > Anyone? If the solution is to obvious, give me a hint. > > Obnoxious hint: > RTFM :) > > More polite: http://struts.apache.org/userGuide/struts-bean.html#message > > Thanks, Jan > > -----Original Message----- > From: Jan Behrens [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 11:14 AM > To: Struts Users Mailing List > Subject: Access to message properties from within application > > > Hi List, > > is there a way to access the language specific messages stored in my > resource file from within my logics java code? I understand that I > will probably need to specify the locale that I need - that should > not be the > problem though. > > TIA, Jan > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]