Yeah i know that. And i need to use JSP (Java Server Pages)

for communication to the database.

Can you explain me how a .jsp would look to retrieve certain data from a mysql database ?