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

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

Thanks.

--
View this message in context: 
http://struts.1045723.n5.nabble.com/How-to-compare-string-reference-variables-using-ognl-tp5067537p5067537.html
Sent from the Struts - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to