Am having one table called rolemaster. In that there are 2 fields Roleid and Role_name. and values are Roleid Role_name 1 SystemAdmin 2 Office Bearer
Am loading this Rolename into one page called createuser.jsp. There am loading this Rolename into combobox. My question is how to get Roleid in textbox when i select Role_name from combobox in a same createuser.jsp page. I want to store this Roleid into database. So please send me the code for this.
With Regards Manjunath