Article:
  ColdFusion MX on Mac OS X, Part 3
Subject:   Cannot find message resources under key org.apache.struts.action.MESSAGE
Date:   2003-09-11 04:36:59
From:   anonymous2
Response to: Cannot find message resources under key org.apache.struts.action.MESSAGE

Hi,
After analysing the working of struts-validation web-application, one can find that there is one section for pointing-out the location of application.properties file.
Just insert following line to your Struts-config.xml
<message-resources parameter="resources.application"/>


As you can guess, it says that the properties are defined inside /WEB-INF/resources/application.properties file.


I hope it solves your problem.
Thanks,
-LalitC.

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Cannot find message resources under key org.apache.struts.action.MESSAGE
    2003-09-17 15:57:32  anonymous2 [View]

    Unfortunately, there may be a more esoteric problem in the setup of the XML parsers in Struts, according to Ted Husted
    • Cannot find message resources under key org.apache.struts.action.MESSAGE
      2003-10-31 04:32:32  anonymous2 [View]

      I find there is a lucky way to solve the error message of "Cannot find message resources under key org.apache.struts.action.MESSAGE ".
      It's just a luck for me to solve it, even though I waste a lot of time.

      The solve way is to remove the <forward> tag that will be used in *.jsp

      I use struts-config_1_1.dtd.

      <init-param>
      <param-name>application</param-name>
      <param-value>ApplicationResources</param-value>
      </init-param> ..................in web.xml

      and write nothing about application in struts-config.xml.

      I think it may be wrong in some cases.
      Please advice me more about more material about it.
      My Email is : yk.chen@autotools.com.tw