OK. I think I have had this problem when I was starting out as well. Here
a couple of things to look at:
In your web.xml file inside of the <servlet id="ActionServlet"> tag, you
will see a number of <init-param> entries. Verify that you have the
following one:
<init-param>
<param-name>application</param-name>
<param-value>ApplicationResources</param-value>
</init-param>
This is the one that specifies the properties file it is looking for. In
this case, it will look for the file ApplicationResources.properties (this
is case-sensitive). You should place this file in your classpath. Then,
assuming that you have added the index.title message to this properties
file, it should work.
Let me know if you have questions. I am new to the Struts forum (although
I have worked with Struts itself for some time), but I believe Struts has
a message board/newsgroup for these types of questions. Others will
hopefully correct me if I am wrong on this or else could supply us with
the e-mail address for this.
Thanks,
Mike McElwee
srikanth madduri <[EMAIL PROTECTED]>
03/06/2003 11:12 PM
Please respond to "Struts Developers List"
To: Struts Developers List <[EMAIL PROTECTED]>
cc:
Subject: Missing message for key index.title
hi I am new to Struts
I got stuck when I have added index.title in the
applicationresources.properties file and after
compiling i got the following error.I am trying to
find the solution in the internet from where got
landed up here at last.I have all the jar files in
the
lib directory of my application.
Thanks in advance
Regards
-Sri
org.apache.jasper.JasperException: Missing message
for
key index.title
at
org.apache.jasper.servlet.JspServletWrapper.serviceJspServletWrapper.java:248)>
at
org.apache.jasper.servet.JspServlet.serviceJspFile(JspServlet.java:295)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, more
> http://taxes.yahoo.com/
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]