You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by James Mitchell <jm...@apache.org> on 2003/04/15 17:42:51 UTC

Re: Message Resources - Help!

On Tuesday 15 April 2003 07:37 pm, Jerry Jalenak wrote:
> All,
>
> I am getting a 'javax.servlet.jsp.JspException: Cannot find message
> resources under key org.apache.struts.action.MESSAGE' exception when I try
> to access my ApplicationResources.properties file.  I've checked the
> archives and double-checked all of the previous problems that caused this -
> ie made sure the file is under /WEB-INF/classes, and that the
> <load-on-startup> parameter in web.xml is set to 1.  Below is the snippet
> of my struts-config for the message resources -
>
> <snip>
> 	<!-- Message-Resource Definition(s) -->
> 	<message-resources
> 		className="org.apache.struts.config.MessageResourcesConfig"
>
> factory="org.apache.struts.util.PropertyMessageResourcesFactory"
> 		key="org.apache.struts.Globals.MESSAGES_KEY"

Why are you specifying this as the key?

> 		null="true"
> 		parameter="ApplicationResources"/>
>
> </snip>
>
> The ApplicationResources.properties file is directly under
> /WEB-INF/classes. This is under the 4/11 nightly build of struts.  What
> else could I be missing?
>
> Jerry Jalenak
> Team Lead, Web Publishing
> LabOne, Inc.
> 10101 Renner Blvd.
> Lenexa, KS  66219
> (913) 577-1496
>
> jerry.jalenak@labone.com
>
>
> This transmission (and any information attached to it) may be confidential
> and is intended solely for the use of the individual or entity to which it
> is addressed. If you are not the intended recipient or the person
> responsible for delivering the transmission to the intended recipient, be
> advised that you have received this transmission in error and that any use,
> dissemination, forwarding, printing, or copying of this information is
> strictly prohibited. If you have received this transmission in error,
> please immediately notify LabOne at the following email address:
> securityincidentreporting@labone.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org

-- 
James Mitchell
Software Developer/Struts Evangelist
http://www.open-tools.org




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org