Dear All,
I need some help in
JSP , I have a simple table in the database containing 10 records , when I query this table it returns 10 records which I display on the html table in the JSP page , now my difficulty is that I need to add
a drop down in front of every record , the drop down will contain just two values actually like "Present , "Absent".
My first question is that how can it be done , I mean how can I set the drop down in the jsp page inside the html table .
My second question is that once the use changes the values in the drop down and press the OK buttons how can I get records from the html table with there drop down values and save them back to the database , since html are static table there exsists no conept of "row number" in it than how can I know that which record's drop down value was changes and how can I get that record , i dont want to use third party tools , please guide me , if possible please provide some useful tips , tutorials.
Regards,
Bilal Ali.