Here's one example with JSTL

Define a bundle...

<fmt:setBundle basename="propfilename" var="current_bundle" scope="page"/>


 Then used later...

<fmt:message key="keyname" bundle="${current_bundle}">
    <fmt:param value="${ServerForm.clonedServerName}"/>
</fmt:message>


There are other variations...

-----Original Message-----
From: Erez Efrati [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 10, 2003 7:25 PM
To: 'Struts Users Mailing List'
Subject: message localization


All this talking on JSP 2.0, JSTL and Struts-el brought me to ask if 
I should avoid using the following: 

<bean-el:message key='${UserSexKey["select"]}'/>

Could someone tell me what is the equivalent in JSTL?

Erez





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to