Hello,
I'm trying to use a bean in a JSP in order to use a resource
bundle/properties file for i18n.
The problem is that my WebSphere server says "Cannot load bean" when I call
the bean in the JSP.
I've narrowed the problem to the declaration of the resource bundle:

java.util.ResourceBundle labels =
java.util.ResourceBundle.getBundle("MyResources", currentLocale);

Why can I do this and use it on my servlet, but in the JSP itself I can't?
I guess I can write a workaround that operates only in
the servlet and the JSP calls the info from an array but thats a cop out.

Thanks for your help

Blair

===========================================================================
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