struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kranti Parisa" <>
Subject internationalization in struts
Date Tue, 12 Dec 2006 17:38:51 GMT

i am working on internationalization in struts.

for this i did the following

1) WEB-INF/classes/resources folder defined all the files
example :, ..etc

2) in each file defined the labels
label.firstname=First Name

3) in struts-config.xml file defined the following
<message-resources parameter="resources.application"/>

4) when user successfully logs in setting the Globals.LOCALE_KEY into
session with user specific locale

5) in jsp
<bean:message key="label.firstname"/>

i suppose the above steps should work.
but its displaying null and when i do <message-resources parameter="
resources.application" null="false"/>
then its printing it as ???label.firstname???

which is nothing but null.

Please do suggest/help me for this.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message