One way is to put this in your jsp file:
<fmt:setBundle basename='properties.messages_en-US' scope='session'
var='loc'/>

The reference it like this:
<fmt:message key="button.Save" bundle="${loc}"/>

-----Original Message-----
From: Barnett, Brian W. [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 19, 2004 2:44 PM
To: '[EMAIL PROTECTED]'
Subject: jsp and message resource file

What do you have to do to make a message resource file available to jsp
pages.

 

I've seen examples of <bean:message key="xxx.yyy"/>

 

but I think I have to do something else in order for that to work.

 

Thanks,

Brian Barnett


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

Reply via email to