Adam, I do have the properties file located in the /WEB-INF/classes directory. When I couldn't get it to work using this method, I tried putting the properties into a package and then jar'ed it and put the jar in the /WEB-INF/lib directory. It still couldn't find the properties file.
I am using the default tomcat configuration with the following server.xml addition: <Context path="/HelloWorld" reloadable="true" docBase="E:\Projects\HelloWorld" /> Richard Morris [EMAIL PROTECTED] ----- Original Message ----- From: "Adam Hardy" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, November 10, 2003 3:47 AM Subject: Re: Hello World gone wrong > On 11/10/2003 04:48 AM Richard Morris wrote: > > org.apache.jasper.JasperException: > > Cannot find message resources under key org.apache.struts.action.MESSAGE > > > > Here is the struts-config.xml file: > > <struts-config> > > <message-resources parameter="HelloWorldMessageResources" null="false"/> > > </struts-config> > > > > --------------------------------------------------------------------- > > Here is the web.xml file: > > <servlet> > > <servlet-name>helloworld</servlet-name> > > <servlet-class>org.apache.struts.action.ActionServlet</servlet-class> > > <init-param> > > <param-name>application</param-name> > > <param-value>HelloWorldMessageResources</param-value> > > </init-param> > > <init-param> > > <param-name>config</param-name> > > <param-value>/WEB-INF/struts-config.xml</param-value> > > </init-param> > > </servlet> > > > > --------------------------------------------------------------------- > > Here is the HelloWorldMessageResources.properties file: > > # Page Titles > > title.helloworld=Hello World > > > > # Labels > > label.helloworld=Hello World! > > Have you got your HelloWorldMessageResources.properties file deployed in > the WEB-INF/classes directory? That is where you have specified that it > is, since you have given no path to such as org.myapp.HelloWorldMess... > > HTH > Adam > > -- > struts 1.1 + tomcat 5.0.12 + java 1.4.2 > Linux 2.4.20 RH9 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

