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!

1 comment
Comment actions Permalink

Please stop asking struts questions on these newsgroups. The struts mailing
list is explicitly intended for answering these sorts of queries; please use
that instead. Information on how to join it can be found here:

http://jakarta.apache.org/site/mail.html

Good luck,
Vil.

Hari wrote:

My *struts.xml *__file has:

...

Any hints etc on this....?

THANKS!


--
Vilya Harvey
vilya.harvey@digitalsteps.com / digital steps /
(W) +44 (0)1483 469 480
(M) +44 (0)7816 678 457 http://www.digitalsteps.com/

Disclaimer

This e-mail and any attachments may be confidential and/or legally
privileged. If you have received this email and you are not a named
addressee, please inform the sender at Digital Steps Ltd by phone on
+44 (0)1483 469 480 or by reply email and then delete the email from
your system. If you are not a named addressee you must not use,
disclose, distribute, copy, print or rely on this email. Although
Digital Steps Ltd routinely screens for viruses, addressees should
check this email and any attachments for viruses. Digital Steps Ltd
makes no representation or warranty as to the absence of viruses in this
email or any attachments.


0

Please sign in to leave a comment.