What I want to do: I have a jsp page where initially there is a single html select tag with its options retrieved from database that contains the list of moderators assigned.
On value change of the the select box i want to show the detailed description of the moderator on the same page.
So how to detect the value change in jsp...
Or suggest me some other way to deal with this problem...
I don't see any other solution except an AJAX call. Use the JQuery onchange() event to get the option value and use that as a parameter to the AJAX call to get the description. Then insert the description into the DOM using JQuery.
"There is no reason for any individual to have a computer in his home" ~ Ken Olson, Co-founder of DEC, 1977
Well, the solution of AJAX suggested by Robbins is absolutely fine. I just wanted add a few points, onchange() is not an JQuery event, its an HTML event and the problem OP is having, can be solved without using JQuery also, but yes, JQuery would make it much easier, but it should be left at the discretion of OP to whether use JQuery or any other framework.