javax.s ervlet.jsp. JspException: Cannot find message resources under key
org.apache.struts.action. MESSAGE
I am trying to run the sample banking application that comes with the O'reilly Jakarta
Struts book. I am using Resin.
I got struts-blank to work. I deployed the banking.war and turned on resin, it autodeployed.
Here are the contents of my struts-config.xml
Please not the following line at the bottom:
<message-resources parameter="BankingMessageResources" null="false"/>
Here is the contents of the BankingMessageResources.properties which is located at: C:\resin-2.1.11\webapps\banking\WEB-INF\classes
There is a post on O'reilly, with someone who is having the same problem. I don't quite understand what he is saying:
I really like the book and it was really a great book for me to learn struts.
Though i have some question on the storefront-dev example code.
When i deployed it i always get this error:
javax.servlet.jsp.JspException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
I tried removing some of the line errors in the index.jsp just to see if it will
work. It did but when i click a new link like viewdetail there it was again. The error part seems to be in the bean tag. it seems it cannot find the message-resources "StorefrontMessageResources". is there any change to be made in the struts-config.xml? anyway, im using the latest version of resin and jdk 1.4. I
Here is the code from index.jsp