I am wondering which file to insert <message-resources key="key" parameter="parameter" null="false"/> into. Is it struts-config.xml for the application?
Yes it is. Except you have no "key" attribute there. Parameter is the name of the bundle, without the .properties.
Also, do I understand correctly?:
1) "key" is the id for the bundle to be used, say in <html:errors>
When you use the message resources, in java are in jsp, you get the string from your bundle which is identified by this key. You specify the bundle you want in various ways, e.g. in the web.xml when you are using jstl fmt (aka i18n) taglib:
<context-param>
<param-name>
javax.servlet.jsp.jstl.fmt.localizationContext
</param-name>
<param-value>ApplicationResources</param-value>
</context-param>2) "parameter" is the actual file name of the bundle - without ".properties"
Yes, in the struts-config declaration
3) the default location for *.properties files <app>/WEB-INF/classes
yes
good luck Adam
Thank you for your comments,
Yakov Belov
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- struts 1.1 + tomcat 4.1.27 + java 1.4.2 Linux 2.4.20 RH9
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

