struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mohan rao <mohanara...@gmail.com>
Subject How to compare string reference variables using ognl?
Date Fri, 09 Dec 2011 05:38:02 GMT

<s:set var=&quot;selectedOffer&quot; value='&lt;s:property
value=&quot;#parameters.offerType[0]&quot;/>'/>

   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.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message