Skip to content

rashmii2210/UserAccessControlSystem-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

User Access Control System

A web-based Java project developed as part of the Web Based Java Programming (Course Code: 4350708) course in the Diploma Engineering program at Gujarat Technological University (GTU).

📋 Project Overview

This project demonstrates a secure and efficient user management system using JSP, Servlets, and MySQL. It covers user registration, login with session management, and a personalized profile page.

📸 Screenshots

Registration Page

Register

Login Page

Login

Profile/Welcome Page

Profile

🛠️ Technologies Used

Technology Purpose
☕ Java Backend Programming
🌐 JSP Dynamic Web Pages
🔄 Servlets Request Handling
🗃️ JDBC Database Connectivity
🐬 MySQL Database Management
🚀 Apache Tomcat Web Server
🎨 HTML/CSS Frontend UI

📁 Project Structure

UserAccessControlSystem/
├── src/
│   └── main/
│       ├── java/
│       │   └── in/sp/backend/
│       │       ├── Register.java      # Servlet for user registration
│       │       └── Login.java         # Servlet for user login
│       └── webapp/
│           ├── Register.jsp           # Registration form UI
│           ├── Login.jsp              # Login form UI
│           ├── Profile.jsp            # Welcome/Profile page
│           └── WEB-INF/
│               └── web.xml
├── screenshots/
│   ├── Register.png
│   ├── Login.png
│   └── Profile.png
└── README.md

⚙️ Features

  • User Registration – Collects name, email, password, gender, and city; stores in MySQL
  • User Login – Validates credentials against the database
  • Session Management – Stores logged-in user's name in session
  • Profile Page – Displays a personalized welcome message after login

🗄️ Database Setup

Run the following SQL to set up the database:

CREATE DATABASE wbjp_microproject;

USE wbjp_microproject;

CREATE TABLE register (
    id INT AUTO_INCREMENT PRIMARY KEY,
    name VARCHAR(100) NOT NULL,
    email VARCHAR(100) NOT NULL UNIQUE,
    password VARCHAR(100) NOT NULL,
    gender VARCHAR(10) NOT NULL,
    city VARCHAR(50) NOT NULL
);

Note: The project uses MySQL on port 4306. Update the connection string in Register.java and Login.java if your MySQL runs on the default port 3306.

🚀 How to Run

  1. Clone this repository
  2. Import into Eclipse / IntelliJ as a Dynamic Web Project
  3. Set up the MySQL database using the SQL above
  4. Deploy on Apache Tomcat (v10+)
  5. Open http://localhost:8080/UserAccessControlSystem/Register.jsp

About

Web-based Java project implementing user authentication, registration, login, session management, and profile handling using JSP, Servlets, JDBC, and MySQL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages