Hi i am getting the following error using the Resource
file. Has anyone come across this error.
Missing message for key hello.title:
My JSp file uses the bean.tld and is as follows:
************************************************
<html>
<head>
<title>
<struts-bean:message key="hello.title"/>
</title>
<struts:base />
</head>
This is my setting in the web.xml file:
*********************************************
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>application</param-name>
<param-value>app.ApplicationResources</param-value>
</init-param>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>detail</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>validate</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
And my ApplicationResources.properties file is under
the following directory structure:
*************************************************
WEB-INF/classes/app/ApplicationResources.properties
And i still can find the hello.title key in the
properties file.
could anyone help.
thanx
sampath
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/