In my servlet, I load a properties file that is in my [context_path]/classes directory with the following line of code
m_resource = ResourceBundle.getBundle( "ctimpact", Locale.getDefault() ); This works fine for me. You could try removing the ".properties" part of the file name. The API may be adding it by default. Also maybe move your properties file to the classes directory. I hope that helps. Robert S. Harper Senior Engineer Information Access Technology, Inc. 1100 East 6600 South, Suite 300 Salt Lake City Utah USA 84121-7411 (801)265-8800 Ext. 255 FAX (801)265-8880 This e-mail is intended only for the addressee and may contain confidential and/or privileged information. Any review, retransmission, or action taken upon this information by persons other than the intended recipient is prohibited by law. If you received this communication in error, please contact us immediately at 801-265-8800. Although this e-mail and any attachments are believed to be free of any virus or other defect, it is the responsibility of the recipient to ensure that anything received or opened is virus free. No responsibility is accepted by IAT for any loss or damage in the event that such a virus or defect exists. -----Original Message----- From: James Dekker [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 16, 2007 3:53 PM To: Tomcat Users List Subject: Re: Configurable Errors Dear Mr. Harper, Thank you for the response! I set the path inside the ActionError constructor as follows: public ActionError() { m_resource = ResourceBundle.getBundle("/error.properties"); } I thought the "/" meant the root directory inside CATALINA_HOME/WEB-INF/classes/. Since, my error.properties file is going inside the CATALINA_HOME/WEB-INF/classes/org/coffeebreak/wrapper/ directory via my Ant build script, I rewrote the code inside the constructor as: public ActionError() { // I removed the slash m_resource = ResourceBundle.getBundle("error.properties"); } And then it gave me that Missing exception... What am I possibly doing wrong? Sincerely, James Dekker --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]