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]



Reply via email to