The properties files should be stored in the "WEB-INF/classes" directory of your WAR 
file, according to the "package path" you specified.  The "param-value" element should 
just specify the "base name" of the properties file.

So, you should have just "VCSCResources" as your "param-value" value.

> -----Original Message-----
> From: Cindy Horn at SF x4874 [mailto:CHorn@;matson.com]
> Sent: Thursday, November 07, 2002 10:09 AM
> To: Struts (E-mail)
> Subject: resource properties not found
> 
> 
> I have a resource property defined in my web.xml file as follows:
> 
> <servlet>
>       ...
>    <init-param>
>       <param-name>application</param-name>
>       <param-value>VCSCResources_en_US.properties</param-value>
>     </init-param>
>       ...
>   </servlet>
> 
> This properties file is in the application jar file at the 
> root.  And I'm
> trying to access a property as follows in my jsp:
> 
> <bean:message key="container.search.event"/>
> 
> I get the following error:
> 
> javax.servlet.jsp.JspException: Missing message for key
> container.search.event

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

Reply via email to