More than 5 ArgumentsIf you really need more than 5, then combine them.

I would recommend doing this in your action prior to forwarding to the jsp.


messages.properties
-------------------
global.msg.final = Please {0} and click {1} when you are done.
global.msg.finish = finish
global.msg1 = enter {0}, {1}, {2}, {3}, and {4} fields


MyAction
...
...
 String msg = getResources( request ).getMessage( "global.msg1",
"","","","" );
 String msg2 = getResources( request ).getMessage( "global.msg.final", msg,
"global.msg.finish");
 // then either set it on your form bean, or in the request
...
...



--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx

----- Original Message -----
From: Bharat Bhushan
To: Struts Users Mailing List
Sent: Thursday, August 26, 2004 1:02 PM
Subject: More than 5 Arguments


Hi
My question is how to print a message on the page through resource bundle
which has more than 5 arguments.
<bean:message> Tag support only 4 arguments. Any help with example will be
appreciable.
Thanks
Bharat



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