But I still have to do this somewhere MessageResources cityMessages = MessageResources.getMessageResources("com.mycompany.locale.city"); servlet.getServletContext().setAttribute("MESSAGE.CITY", cityMessages);
in order to use it like this, right? <bean:message bundle="MESSAGE.CITY" name="city" property="messageKey"/> ----- Original Message ----- From: "Eddie Bush" <[EMAIL PROTECTED]> To: "Struts Developers List" <[EMAIL PROTECTED]> Sent: Friday, September 27, 2002 4:37 AM Subject: Re: Auto Property File Reader? > Look at the bean taglib - specificall <bean:message /> This is really a > struts-user question :-) It's not loaded into the session - it's loaded > into application-scope, and copied to the request-scope - along with the > rest of the configuration for the currently-selected module. > > Christopher Cheng wrote: > > >Does web.xml or struts-config.xml have a setting to load property file into > >the session with a certain key, so that the taglib can use it? > > > >I am currently doing that explicitly in one of the plugins. > > > -- > Eddie Bush > > > > > -- > 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]>