<s:set var="selectedOffer" value='<s:property value="#parameters.offerType[0]"/>'/>
Even if the both values are same it's giving false. It's giving true only when both are pointing to null. And even i tried following as well Thanks. -- View this message in context: http://struts.1045723.n5.nabble.com/How-to-compare-string-reference-variables-using-ognl-tp5060783p5060783.html Sent from the Struts - User mailing list archive at Nabble.com.