Displaybook
Displaybook
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>E-Book Store - Display Book</title>
</head>
<body>
<%@ page import="java.sql.*" %>
<%
Class.forName("com.mysql.jdbc.Driver");
String URL = "jdbc:mysql://localhost/bookstorejsp";
String user = "root";
String pass = "";
Connection conn = DriverManager.getConnection(URL, user, pass);
Statement stmt = conn.createStatement();
rs.close();
stmt.close();
conn.close();
%>
</body>
</html>