The JSTL fmt classes are built using the exact same facilities that you'd use in your code. So, yes you can set up your bundles to be accesbile by both Java code and JSTL. [ March 22, 2007: Message edited by: Bear Bibeault ]
Originally posted by Bear Bibeault: The JSTL fmt classes are built using the exact same facilities that you'd use in your code. So, yes.
For example, from my jsp page, I have:
From a POJO, how do I retrieve the Spanish translation of the mypage.mygreeting key in the message bundles. For instance, I want to retrieve the Spanish version from messages_es.properties.
[ March 22, 2007: Message edited by: timothy chan ] [ March 22, 2007: Message edited by: timothy chan ]
That's not a JSP topic, but I suggest you research the classes such as PropertyBundle in the java.util packages. [ March 22, 2007: Message edited by: Bear Bibeault ]
Post by:autobot
Get me the mayor's office! I need to tell him about this tiny ad:
a bit of art, as a gift, the permaculture playing cards