Eric,

> The <fmt:...> tags are great, but we have one problem: We use (not
> surprisingly) a database for storing our translations.
> However, when I insert a new translation (key/value pair), I have to restart
> Tomcat to actually be able to use it in JSTL.
> 
> Does anyone have the same problem and/or a solution?

your modified resource bundle is not considered until a Tomcat restart
because java.util.ResourceBundle.getBundle(), which is leveraged by
the reference implementation of JSTL, caches any resource bundles it
has instantiated.

I think it would be useful if java.util.ResourceBundle exposed any
APIs for clearing the cache, or removing individual bundles from it,
but I am not aware if adding support for this is being considered by
J2SE.


Jan




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

Reply via email to