A dynamic and interactive Quiz Web Application built using Java Servlet, JSP, and MySQL, following the MVC design pattern.
- User authentication with secure registration and login
- Category-based quiz selection
- Random and Difficulty level based question selection
- Results display with scoring and try again functionality
- MySQL database integration
- Frontend: HTML, CSS, JSP
- Backend: Java Servlets
- Database: MySQL
- Build Tool: Maven
- IDE: Eclipse
QuizProject/
├── src/
│ └── main/
│ ├── java/testing/
│ │ ├── dao/ # Database access objects
│ │ ├── dbConnection/ # Database connection utilities
│ │ ├── filter/ # Web filters
│ │ ├── model/ # Data models
│ │ └── servlet/ # Servlet controllers
│ └── webapp/ # Web resources
├── target/ # Compiled output
├── .classpath
├── .gitignore
├── .project
├── README.md
└── pom.xml # Maven configuration
- Java JDK 8+
- Eclipse IDE
- XAMPP (MySQL)
- Maven
-
Clone the repository:
git clone <https://github.com/Saima223/Quiz-webapp.git>
-
Import project into Eclipse:
- File > Import > Existing Maven Project
-
Configure database:
- Create database named
quiz_db
- Import
quiz_db.sql
- Create database named
-
Update database settings in
DBConnection.java
-
Run the application on a server (e.g., Apache Tomcat)
- Password hashing
- Enhanced analytics
For issues or contributions, please submit a pull request.