Hey,

With Tomcat, you can put the .properties files in the same
directory as the class file that instantiates the bundle.

try something like:

    WEB-INF/classes/etiquetas.properties

where your class lives in the same directory.

good luck!
mike

--
[[EMAIL PROTECTED] chikoon]$ whoami
Mike Blake


>From: Eduardo Miguel Oliveira <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: ResourceBundle
>
>I'm creating a .properties file to make a ResourceBundle and I don´t know
>where to put it.
>When I make:
>
>    ResourceBundle resourceBundle = ResourceBundle.getBundle("etiquetas");
>
>I get the message
>
>java.util.MissingResourceException: Can't find bundle for base name
>etiquetas, locale pt_PT
>
>Can someone tell me where should I put "etiquetas.properties" ???

===========================================================================
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to