Cannot find message resources under key org.apache.struts.action.MESSAGE
My *struts.xml *__file has:
-
<message-resources parameter="ApplicationResources.properties" />----
My *web.xml *__file has:
-
action
org.apache.struts.action.ActionServlet
]]>application</param-name>
<param-value>ApplicationResources</param-value>
</init-param>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts.xml</param-value>
</init-param>
</servlet>
-
I have 2 files:
ApplicationResources_en.properties and
*ApplicationResources_fr.properties *
These files are stored in *WEB-INF/classes *directory and is stored in CLASSPATH.
When I run my browser, I get following wonder why:
-
javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471)
etc.....
-
Any hints etc on this....?
THANKS!
Please sign in to leave a comment.
This is not a Struts programming newsgroup...please take it elsewhere.