struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jana Navaneethan" <jana.navaneet...@labs.gte.com>
Subject Help with <bean:message>
Date Mon, 02 Dec 2002 19:22:04 GMT
Hi,
        I want to create a String[] using messages in my JSP page. Can
somebody tell me how to do that? Or is there any other better way of doing
this?

Requirement is simple, I want to display days (Monday thru Sunday) in my
JSP, Since our application is multi-lingual I want to get this from
properties file, some thing like

String[] arrayOfDays = { "<bean:message key="day1"/>", "<bean:message
key="day2"/>" };

Any help would be greatly appreciated!

Thanks,
Jana.




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