Developed a web-based voting platform where users can securely vote for candidates, and the admin can view and manage real-time vote counts.
This Voting System web application is developed using JSP, Servlets, and MySQL. Users must first register and log in to access the voting page. Once logged in, they can view a list of candidates and cast their vote. After voting, the system records their choice in the database and automatically logs them out to prevent multiple votes. It ensures one-time voting per user and maintains session control for secure access. The application demonstrates user authentication, session handling, and database interaction in a simple and effective way.
In this HTML and Servlet-based voting system, a new user first fills out an HTML registration form. The form action sends the data to a servlet, which stores the user details in the database. After successful registration, the user is redirected to the candidate selection page, where they can cast their vote. Each vote is securely stored, and the system ensures one-time voting by restricting users from logging in again after voting. This makes the application simple, secure, and reliable for managing online voting.
After registration, the user is redirected to the candidate selection page. Here, the user selects the candidate they want to vote for and is asked to provide their Aadhar number for verification. Once the Aadhar number is verified, the vote along with the user’s details is securely stored in the database. This step ensures authenticity and prevents duplicate voting, making the system more secure and trustworthy.