struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mohan rao <>
Subject How to compare string reference variables using ognl?
Date Mon, 12 Dec 2011 08:08:56 GMT
Please delete my previous thread my query was not posted completely.

<s:set var="selectedOffer" value="%{offers.dicountkey}"/>
<s:iterator var ="entry" value = "#session.eligibleEcOffersMap">
<s:set var="queryString" value="%{#entry.key}"/>
T/F<s:property value="selectedOffer.equals(queryString)"/>  Nothing is

T/F<s:property value="#selectedOffer== #queryString"/> Always printing false
even both are having same values.


View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message