Hi,

just define a bean from the key you have in the message resource , and then compare this newly define bean with your value..eg:-

<bean:define id="checkKey">

<bean:message key="checkKey"/>

</bean:define>

<logic:equal value="true" name="checkKey">

Add your content here...

</logic:equal>

Thanks,

Nuwan.



----- Original Message ----- From: "nagesh.kumar" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <user@struts.apache.org>
Sent: Friday, December 29, 2006 6:49 AM
Subject: Logic :if check key is true or false in messgeresouce bundle


Hi all,

I want to check a key value whether it is true or false in messageresource
bundle in JSP.

There is no tag to check  the key value directly as

<logic:equal  key="checkKey" value="true">
</logic:equal>





checkKey=true

Any help thanks
Nagesh




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