I suspect your struts-config-smile.xml is having no message resource
definition. Just add the same message resource definiton whatever you
have in the default struts-config.xml. I hope it should work then.

This is how you define message resource bundle to be used in struts 
configuration file.
+--------------------------------------------------------------+
| <!-- ========== Message Resources Definitions ========== --> |
| <message-resources parameter="resources.application"/>       |  
+--------------------------------------------------------------+

Cheers,
Ashutosh Satyam

-----Original Message-----
From: Normanjaisingh pauldurai [mailto:[EMAIL PROTECTED]
Sent: Friday, May 07, 2004 12:23 PM
To: [EMAIL PROTECTED]
Subject: Using multiple struts-config.xml- ActionErrors problem


Hi,

I'm using struts-modular approach. i.e. in web.xml I've definitions like 
this

-------------------------

<init-param>

<param-name>config</param-name>

<param-value>/WEB-INF/struts-config.xml</param-value>

</init-param>

<init-param>

<param-name>config/business</param-name>

<param-value>/WEB-INF/struts-config-smile.xml</param-value>

</init-param>

-------------------------

But when ActionErrors object is populated in "config/business" module,it is 
not visible in the JSP page( i.e <html:errors/> tag doesn't display me the 
errors populated). But the same works with "config" module. Why is this 
problem.?

FYI: I use struts 1.1



Thanx in advance,

Norman

_________________________________________________________________
Post Classifieds on MSN classifieds. http://go.msnserver.com/IN/44045.asp 
Buy and Sell on MSN Classifieds.


---------------------------------------------------------------------
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