Use <message-resources parameter="<name of file without extension"
key="<your key>"/> 

-----Original Message-----
From: René Thol [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 01, 2004 9:15 AM
To: Struts Users Mailing List
Subject: message-resources in struts-config.xml won't work!

Hello again everybody,

I just changed my application from having its message resources defined in
web.xml via init parameter to defining it in struts-config.xml using
<message-resources parameter="filename without ending in  the same manner
like formerly in web.xml"/>

I left my JSPs unchanged using <bean:message key="key"/> tags.

But now the JSPs won't be compiled anymore. I'm always getting:

Cannot find message resources under key org.apache.struts.action.MESSAGE

Why?

I can't find anything that is declared against specification?

Can please smbd. help here?

Many thanks in advance
Best regards

--
============================
        René Thol

E-Mail: [EMAIL PROTECTED]
============================



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
**************************************************************************** 
This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 
****************************************************************************

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

Reply via email to