Cindy, A couple of things you can try:
1) Take off the _en_US from the end of the filename prefix. You don't really need it if your system is already set up to use US English by default. 2) Make sure it's in the right directory. From the way you have it defined it should be located in WEB-INF/classes, although judging by the error message you're getting this is probably already there. 3) Double check the bundle to make sure that resource key exists and has a value. -= James > -----Original Message----- > From: Cindy Horn at SF x4874 [mailto:CHorn@;matson.com] > Sent: Thursday, November 07, 2002 12:09 PM > To: Struts (E-mail) > Subject: resource properties not found > > > I have a resource property defined in my web.xml file as follows: > > <servlet> > ... > <init-param> > <param-name>application</param-name> > <param-value>VCSCResources_en_US.properties</param-value> > </init-param> > ... > </servlet> > > This properties file is in the application jar file at the > root. And I'm > trying to access a property as follows in my jsp: > > <bean:message key="container.search.event"/> > > I get the following error: > > javax.servlet.jsp.JspException: Missing message for key > container.search.event > at > org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag > .java:242) > at > jsp_servlet._st.__ContainerList._jspService(__ContainerList.java:205) > at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle > tStubImpl.java > :265) > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle > tStubImpl.java > :200) > at > weblogic.servlet.internal.RequestDispatcherImpl.forward(Reques > tDispatcherImp > l.java:241) > at > org.apache.struts.action.ActionServlet.processActionForward(Ac > tionServlet.ja > va:1759) > at > org.apache.struts.action.ActionServlet.process(ActionServlet.j > ava:1596) > at > org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle > tStubImpl.java > :265) > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle > tStubImpl.java > :200) > at > weblogic.servlet.internal.WebAppServletContext.invokeServlet(W > ebAppServletCo > ntext.java:2495) > at > weblogic.servlet.internal.ServletRequestImpl.execute(ServletRe > questImpl.java > :2204) > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139) > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120) > > What else needs to be condigured? What else can I look at to > resolve this > issue? > > Thanks, > > Cindy > > -- > To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>