JSP Fetching mySQL Database and Display in DataTable

JSP Fetching mySQL Database and Display in DataTable

d0b0lmik3d0b0lmik3 Posts: 1Questions: 1Answers: 0

Hi All,

How can JSP Fetch mySQL Database and Display in DataTable. I have a sample index.jsp below. Can somebody please continue the code.

<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Index</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css">
<script>
$(document).ready( function () {
$('#example').DataTable();
} );
</script>
</head>
<body>

</body>
</html>

Thanks a lot.

This discussion has been closed.