I have searched the archive and could not resolve my issue. I have a 
struts-config.xml file where I would like to specify multiple properties 
files. A "common" properties file for the main application and an "image" 
properties file. I tried the following:

struts-config.xml
<message-resources parameter="directorystuff.ApplicationResources" null="false" />
<message-resources parameter="directorystuff.ImgApplicationResources" 
key="IMG_RESOURCE_KEY" null="false" />

I see that both properties files are initialized when the server starts.

List.jsp:
<html:img bundle="IMG_RESOURCE_KEY" pageKey="image.searchbox.top" border="0" />

error when running jsp:

[ServletException in:/WEB-INF/directorystuff/List.jsp] Cannot find message resources 
under key IMG_RESOURCE_KEY' 

I did see one comment in the archive that mentioned if you are using the 
validator (which I am) that you can't use multiple properties file, but I 
couldn't find any additional comments to substantiate this statement. Any 
thoughts?

Thank you.

Zach Curtis
TSYS Technology Center
[EMAIL PROTECTED]
208-424-2145


-----------------------------------------
The information contained in this communication (including any attachments hereto) is 
confidential and is intended solely for the personal and confidential use of the 
individual or entity to whom it is addressed.  The information may also constitute a 
legally privileged confidential communication.  If the reader of this message is not 
the intended recipient or an agent responsible for delivering it to the intended 
recipient, you are hereby notified that you have received this communication in error 
and that any review, dissemination, copying, or unauthorized use of this information, 
or the taking of any action in reliance on the contents of this information is 
strictly prohibited.  If you have received this communication in error, please notify 
us immediately by e-mail, and delete the original message.  Thank you

Reply via email to