The only way to do this (AFAIK) is to create a LocalizationContext with your
custom resource bundle and invoke Config.set [
http://download-llnw.oracle.com/javaee/5/jstl/1.1/docs/api/javax/servlet/jsp/jstl/core/Config.html#set(javax.servlet.ServletContext,%20java.lang.String,%20java.lang.Object)]
with it (the key would be the localisation context constant in
Config).
You can do this from within a ContextLoaderListener's contextInitialized
method - the only challenge is getting a hold of your resource bundle if
you're creating it elsewhere.

Op 12 aug 2010 00:22 schreef "Danny Thüring" <dthuer...@gmail.com>:


Hi,

what a pity!

I have implemented the code in my project some time ago. But now i dont know
how to get the localized strings for an key into my jsp files.

For example <fmt:message key="txt.WelcomeDisclaimer"/> does not work.


Thank you!
danny



On Aug 9, 2010, at 8:17 PM, Freddy Daoud wrote:

>>
> http://www.stripesbook.com/blog/index.php?/...
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to