yes true,
but the resource bundle will be used for having data in multiple languages ..
hence the general format is "name of the file" + _en_US.properties





-----Original Message-----
From: EswarChandu Nalluri [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 2:08 PM
To: [EMAIL PROTECTED]
Subject: Re: question regarding ResourceBundle Class


Hi,

   The filename is not necessarily be in the form of forms_en_US.properties,
It can be forms.class which extends ResourceBundle and it should be in
claspath.

Regards,
Eswar.

-----Original Message-----
From: Sitaram_chatti [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 1:34 PM
To: [EMAIL PROTECTED]
Subject: Re: question regarding ResourceBundle Class


you need to check if the directory in which the forms file is there is in
CLASSPATH...
next..
the file name should be of the format "forms_en_US.properties"

hopefully this will help

Rgds
Sitaram

-----Original Message-----
From: Erwin Dwight V. Ruiz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 1:22 PM
To: [EMAIL PROTECTED]
Subject: question regarding ResourceBundle Class


i have an error related to the ResourceBundle Class, here
is my code

<%!
  ResourceBundle bundle=null;
  public void jspInit(){
    bundle=ResourceBundle.getBundle("forms");
  }
%>
and here is a snippet of the error message that was generated. this was
generated when i submitted an html form to a jsp page which contains the
code snippet above.

java.util.MissingResourceException: Can't find bundle for base name forms,
locale en_US

what do i have to do to make my code above work or are there
requirements to make the ResourceBundle class work?

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

==========================================================================To
unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

==========================================================================To 
unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to