2017-04-02 22:58 GMT+02:00 Kiran Kongala <kirankongal...@gmail.com>: > Hi Lulasz, > > > *I am not comparing the same objects.I am trying to compare the String to > a constant String.Still do I need to override the equals and hashCode > methods.* > > *I added a <s:debug/> tag in the jsp and I see the values.But the value > doesnt set the value back to the s:select drop down list.* >
If you are comparing Strings why do use listKey and listValue? These attributes are used to fetch an object's property and compare it with value pointed by the "name" attribute. Regards -- Ćukasz + 48 606 323 122 http://www.lenart.org.pl/