what's a forms file? what are its contents? thanks.

On Thu, 25 Jul 2002, Sitaram_chatti wrote:

> 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

Reply via email to