I have chosen the problem like this, after surfing net a little bit,
I added :
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>application</param-name>
<param-value>mypackage.ApplicationResources</param-value>
</init-param>
<.../>
</servlet>
to web.xml
And created mypackage.ApplicationResources.properties file.
----- Original Message -----
From: "Brendan Richards" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, April 01, 2004 5:42 PM
Subject: RE: .properties file
> This is configured towards the bottom of the struts-config.xml file
>
> For Example:
> <message-resources parameter="resources.application"/>
>
> maps the default resources file:
>
> resources/application.resources
>
>
>
> -----Original Message-----
> From: Ramil Mirhasanov [mailto:[EMAIL PROTECTED]
> Sent: 01 April 2004 15:31
> To: [EMAIL PROTECTED]
> Subject: .properties file
>
> I am using Jbuilder9 Enterprise and trying to buid my 1. example
> application with struts.
>
> The problem is, I do not know which ".properties" file to create in
> order to be able to write:
>
> <bean:message key="index.title"/>
>
> javax.servlet.ServletException: Cannot find message resources under key
> org.apache.struts.action.MESSAGE
> exception is given.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]