> You only have to load the bundle once -- I normally do this in the init()
method of
> a startup servlet:
>
>     ResourceBundle rb =
> ResourceBundle.getBundle("com.mycompany.mypackage.Resources");
>     getServletContext().setAttribute("bundleBean", rb);

But then aren't you only loading one language resource of the bundle?
Do I only need to set the parent resource to the ResourceBundle of my
LocaleBean and the ResourceBundle class will automatically load all the
child resource files?  Sorry if these are absent minded, but I wasn't
planning on localizing my app but when I started a small rewrite, I thought
the time was right to waste an extra couple of days on this :-)

thanks,

Mike

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to