Installation and Setup Guide for JSP & MySQL

1️⃣ Prerequisites

Before you begin, ensure you have the following installed:


2️⃣ Setting Up MySQL Database

Step 1: Install MySQL Server

If not already installed, download and install MySQL from MySQL Downloads.

Step 2: Create a Database and Table

Run the following SQL commands to set up the database:

CREATE DATABASE test;
USE test;

CREATE TABLE students (
    id INT AUTO_INCREMENT PRIMARY KEY,
    name VARCHAR(100) NOT NULL,
    email VARCHAR(100) NOT NULL UNIQUE,
    age INT NOT NULL
);


3️⃣ Setting Up Apache Tomcat

Step 1: Download and Install Tomcat