Thanks Susan for the reference ...
 
In my jsp, I am using <html:errors /> tag to display all error messages.
 
Now I have moved the ApplicationResources to struts-config.xml file for
having multiple ApplicationResources.properties files as below,
 
<message-resources key="app1" parameter="ApplicationResources1"/>
<message-resources key="app2" parameter="ApplicationResources2"/>
 
Now its giving below error message,
 
500 Internal Server Error
javax.servlet.jsp.JspException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
at
org.apache.struts.util.RequestUtils.retrieveMessageResources(RequestUtil
s.java:1103)
      at
org.apache.struts.util.RequestUtils.present(RequestUtils.java:1408)
 
 
Should I provide any key to <html:errors /> tag.
 
Regards,
Viral
 
 
-----Original Message-----
From: Susan Bradeen [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 30, 2004 5:37 PM
To: Struts Users Mailing List
Subject: Re: Multiple Application Resources...???
 
"Viral_Thakkar" <[EMAIL PROTECTED]> wrote on 06/30/2004 07:23:00

AM:
 
> Hi all,
> 
> As of now I have a following entry in web.xml for an 
> ApplicationResources.properties file.
> 
> <init-param>
>       <param-name>application</param-name>
>       <param-value>ApplicationResources</param-value>
> </init-param>
> 
> I have tried the one approach as mentioned below but it didn't work..
> 
> <init-param>
>       <param-name>application</param-name>
> 
> <param-value>ApplicationResources1,ApplicationResources2</param-value>
> </init-param>
> 
> Is there any other approach for this...?
> 
 
This link might help ... 
http://www.systemmobile.com/articles/strutsMessageResources.html
 
Susan Bradeen
 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
 
 
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 
 

Reply via email to