I have a requirement when I need to display some fields in a JSP. These fields are dynamic in nature, that is, for ex :, if I change some value in the drop-down list, some fields will be hidden, and some others may appear. I do not want to write Javascripts to show / hide divs, rather I want the logic to be encoded somewhere on the server side.
I have an idea to implement a custom tag library, but I will not get a solution from the box.
Any new suggestions or solutions are welcome.
source share