struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonas Björnerstedt <jo...@bjornerstedt.org>
Subject struts-blank fix
Date Fri, 06 Dec 2002 17:53:45 GMT
Hello,

struts-blank/welcome.do does not work "out of the box". Trying it with 1.1b2
or CVS I get:

org.apache.jasper.JasperException: Missing message for key welcome.title

This can be fixed by changing line 282 in struts-config.xml (in CVS) from

    <message-resources parameter="resources.application"/>

to

    <message-resources parameter="resources.ApplicationResources"/>

and renaming

/WEB-INF/classes/resources/application.properties

to

/WEB-INF/classes/resources/ApplicationResources.properties

I'm assuming that the "standard" name is ApplicationResources rather than
application.

Jonas


--
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