Hi All,
Please help me in solving this problem.
I have a
jsp page to add new employee. In which you have a radio button to select the employee's gender. I have another page called update employee details. In this page, when you enter the unique ID of the employee, a form appears as same as the form which you used for adding employee with all the details (obtained from database) of the employee of that Unique ID. Then, you can edit the employee details and update here. In this page, I am able to retrieve the all the values from database in text boxes but I don't know how to set a radio button checked/how to set the value of a dropdown box from the database values in JSP.
Please help me. JavaRanch is my only hope.
Note: please provide codes for both radio button and dropdown issue.