Hi all,
I have a
JSP page in which there is an html form , and in this form there is a html table of 10 rows and 3 columns. When this JSP page is displayed in the browser of the user, I would like that when the user selects a cell in the table, a POST is sent to a
servlet so that a processing is done in a database , based on the
position of the cell. My problem is that
I don't know how to write the code for the html table so that when the user selects a cell in the table, the servlet to which the form is posted is able to know the position of the cell( the position of the cell means, for me, the row and the column to which the cell belongs).
Please, how to solve my problem?
Thanks you in advance for your help.