Fetch the data from database based on dropdown selection using mysql in jsp

I want to retrieve data based on what I select the option from the dropdown menu.
This dropdown menu has Itemcode values of the table, which I have already created.
Please can you assist me retrieving the related data from the database on selecting the Itemcode?

I have dynamically retrieved the Itemcode values from database table into dropdown menu.

On selecting value from the dropdown, I want to display the related data from data base using jsp.