This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I've written a TLD for rendering dropdown in jsp page . The tag takes Map with key / value in it for rendering the list. optionally we can pass key / value to display as selected item. here is the sample jsp code snipet :
the first one renders dropdown with some data selected and the other without selection.
The problem is, when I reset my form , the dropdown is with no selection , regardless of it contained some data initially or not. I wanted to retain the data in case it was there .
here is the code for tld ..
what could be the possible reason ? some help pls.