Login-Register
A simple Login-Register Web Project made using JSP and Servlet.
Features
- User registration with basic information.
- User login authentication.
- Session management for logged-in users.
- Uses MySQL as the backend database.
- Built using Java, JSP, and Servlets.
Technologies Used
- Java
- JSP (JavaServer Pages)
- Servlet
- MySQL
Setup Instructions
Clone the repository
git clone https://github.com/KunalGupta25/Login-Register.git
Open in your IDE
- Import the project into your favorite Java IDE (such as Eclipse or IntelliJ IDEA) as a Maven or Dynamic Web Project.
Configure your server
- Make sure you have Apache Tomcat or any compatible servlet container installed.
- Deploy the project to the server.
Database setup (MySQL)
- Install MySQL and create a database (e.g.,
login_register).
- Import the provided SQL file (if available) or create necessary tables as per your application's requirements.
- Update your database connection details (username, password, database name) in the project configuration or properties file.
Run the application
- Start your servlet container (Tomcat).
- Access the application in your browser at:
http://localhost:8080/Login-Register (update context path if needed).
Usage
- Register for a new account using the Register page.
- Log in with your credentials on the Login page.
- After logging in, you will be redirected to the welcome/dashboard page.
Contributing
Feel free to fork the repository and submit pull requests.