Accessing Database from JSP
 
Introduction
 
In this object we are going to discuss the connectivity from MYSQL database with JSP.
 
take a example of Books database.
Book database contains a table named books_details.
 
This table contains three fields- id, book_name & author.
 
First we learn how to create tables in MySQL database after that we write a html page for inserting the values in 'books_details' table in database.
 
After submitting values a table will be showed that contains the book name and author name.