Try this in your struts-config.xml after </action-mappings>

  <!-- ========== Message Resources Definitions
=========================== -->

  <message-resources
    parameter="ApplicationResources"/>


This would be telling your application that the
ApplicationResources.properties file is sitting in your /WEB-INF/classes
directory.


JM

> -----Original Message-----
> From: Marius Gabor [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 07, 2002 8:10 AM
> To: Struts Users Mailing List
> Subject: Re: Cannot find message resources - DESPERATION
>
>
> Didn't work, but thanx!
>
> Marius
>
> Gruner, Manfred wrote:
> > Hi,
> > you made a mistake in your configuration:
> >
> > WRONG entry in web.xml
> >         <init-param>
> >             <param-name>application</param-name>
> >
> > <param-value>WEB-INF/ApplicationResources.properties</param-value>
> >         </init-param>
> >
> > RIGHT ENTRY
> >         <init-param>
> >             <param-name>application</param-name>
> >             <param-value>ApplicationResources.properties</param-value>
> >         </init-param>
> >
> > With application you give the name of the ApplicationResource
> which have to
> > be exist in the class path
> > so move it under WEB-INF/classes and the entry above (the new one) will
> > work.
> >
> > Manfred
> >
> >
> >>-----Original Message-----
> >>From: Marius Gabor [mailto:[EMAIL PROTECTED]]
> >>Sent: Tuesday, May 07, 2002 11:31 AM
> >>To: Struts Users Mailing List
> >>Subject: Cannot find message resources - DESPERATION
> >>
> >>
> >>Hi!
> >>
> >>I have the same problem with the messages:
> >>
> >>Cannot find message resources under key
> >>org.apache.struts.action.MESSAGE
> >>
> >>I have already read here about solutions. None worx for me,
> >>or I am so
> >>dumb that I can't get it right. I've attached the web.xml and
> >>struts-config.xml files.
> >>
> >>Please help me!!! 10x in advance!
> >>
> >>Marius
> >>
> >>
> >>
> >>
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> >
>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to