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]



Reply via email to