Your ApplicationResources file must be referred to as if it were a java
class.  Remove the /web-inf/ path.  It should be referred to using package
notation.  Since it is considered to be a java class - it must be put below
your /web-inf/classes/ directory.  If it is in the classes directory - you
can refer to it simply as ApplicationResources in your web.xml file.  If it
is in a package below your classes directory (say mypackage), then put
mypackage.ApplicationResources in your web.xml.



 -----Original Message-----
From:   Marius Gabor [mailto:[EMAIL PROTECTED]] 
Sent:   07 May 2002 11:00
To:     Struts Users Mailing List
Subject:        Re: Cannot find message resources - DESPERATION

Hi, Nico!

I've tried and didn't work also... :(((

Marius

Nicolas De Loof wrote:
> Your struts-config:
> <message-resources
>   key="org.apache.struts.action.MESSAGE"
>   name="ApplicationResources.properties" />
> 
> I'm using Struts 1.0.2, so I cannot test it, but i think your message
> ressource bundle should be declared in struts-config with a "parameter"
> attribute without the ".properties" extension:
> 
>   <message-resources
>       key="org.apache.struts.action.MESSAGE"
>       parameter="ApplicationResources"/>
> 
> Struts_config_1_1.dtd don't have anay "name" attribute for
message-ressource
> element. Perhaps you may use struts-config validation at startup.
> 
> 
> Nico
> 


--
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