>From struts-user mail archives courtesy of Oleg V Alexeev Remove resources from classpath and place it to the WEB-INF/classes directory. For example
WEB-INF classes ApplicationResources.properties ApplicationResources_en.properties (...place here resources for every language used in your app...) In resources search for string header.title=Some title in every file. MAN1>I dream of a world where I would not have to work for free MAN2>Sounds like you're a Misguided capitalist ----- Original Message ----- From: "Simon Charette" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 07, 2004 5:32 AM Subject: [Fwd: Error 500 on Websphere - Missing message for key "header.title"] > Hi > > I'm trying to install on WAS 5.1 a struts application developped on > apache tomcat. > > The application does work on tomcat but on websphere I keep getting the > following error: > > Error 500: Missing message for key "header.title" > > I made sure my struts-config.xml contained <message-resources > parameter="resources.ApplicationResources"/> > > I also tried to put in web.xml > <init-param> > <param-name>application</param-name> > <param-value>resources.ApplicationResources</param-value> > </init-param> > > I've put my ApplicationResources.properties in /WEB-INF/classes/resources > > I also tried putting it in one of my jar file under /WEB-INF/lib. > > And it does contain the line header.title=Application Title > > > Here's the workflow before the error: > > The welcome page makes a <logic:redirect forward="home"/> > > My struts-config.xml has the following config: > > <global-forwards> > <forward name="home" path="/index.do"/> > </global-forwards> > > <action-mappings> > <action path="/index" forward="/pages/index.jsp"/> > </action-mappings> > > And the /pages/index.jsp is just: > > <html> > <body><bean:message key="header.title"/> > </body> > </html> > > Did I miss something? What did I do wrong? > > Thanks in advance. > > Simon > > > > -- > Simon Charette > Professional Services > > Kaidara > 15 rue Soufflot, 75005 Paris, France > > phone : +33 1 53 73 23 30 > fax : +33 1 53 73 23 01 > email : [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]