'how to get clicked value and pass it to another jsp page (integer)

I am working in a project in which I have a Display.jsp page which fetches all the records from mysql database and shows in a table on the page. While I want to click on record id which I fetched and want to display data for clicked record id on Update.jsp page in html form to update it again.

How I can send the clicked record value to Update.jsp here.

Please find below image for more details:

THis is my Display.jsp page where you can see the record id is clickable



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source