Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@jakarta.apache.org Received: (qmail 24787 invoked by uid 500); 14 Mar 2001 16:05:27 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: struts-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 24566 invoked from network); 14 Mar 2001 16:04:47 -0000 Received: from trs-fw1.trs.state.tx.us (HELO ?204.64.223.35?) (204.64.223.35) by h31.sny.collab.net with SMTP; 14 Mar 2001 16:04:47 -0000 Received: from mail.trs.state.tx.us by [204.64.223.35] via smtpd (for h31.sny.collab.net [64.208.42.41]) with SMTP; 14 Mar 2001 16:03:52 UT Received: by mail.trs.state.tx.us with Internet Mail Service (5.5.2650.21) id ; Wed, 14 Mar 2001 10:05:14 -0600 Message-ID: <0058222C20AAD3118B6D0008C756311903BFC416@mail.trs.state.tx.us> From: "Anderson, Jessica" To: "'struts-user@jakarta.apache.org'" Subject: RE: newbie question Date: Wed, 14 Mar 2001 10:05:13 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N >From the User Guide: ------------------- When you configue the controller servlet in the web application deployment descriptor, one of the things you will need to define in an initialization parameter is the base name of the resource bundle for the application. In the case described above, it would be com.mycompany.mypackage.MyResources. action org.apache.struts.action.ActionServlet application com.mycompany.mypackage.MyResources <.../> The important thing is for the resource bundle to be found on the class path for your application. -----Original Message----- From: Jesse Vitrone [mailto:jvitrone@giantbear.com] Sent: Wednesday, March 14, 2001 9:52 AM To: Struts User Mailing List (E-mail) Subject: newbie question I'm new to struts and I'm trying to create a little sample app, but I'm getting this error when I try to go my index.jsp javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:459) at _0002findex_0002ejspindex_jsp_1._jspService(_0002findex_0002ejspindex_jsp_1. java:315) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:177) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79 7) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection (Ajp13ConnectionHandler.java:160) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:484) What does this mean? I would think that it means that it can't find the properties file, but I've got this in my xml: action org.apache.struts.action.ActionServlet application BNPriceResources config /WEB-INF/my-example-config.xml debug 2 validate true 1> BNPriceResources is in my .../WEB-INF/classes folder and I've got .../WEB-INF/classes in my classpath. Any help would be greatly appreciated. Thanks, Jesse