A secure and scalable online voting platform developed using Java, JSP, Servlets, MySQL, and AJAX. This system allows users to register, authenticate, and cast votes in a simulated election environment.
-
User Registration & Login: Voters can register and authenticate using secure login credentials.
-
Admin Dashboard: Admins can manage elections, view results, and oversee the voting process.
-
Real-Time Voting: Voters can cast their votes in real-time, with immediate feedback.
-
Result Calculation: Automatic tallying of votes and display of results.
-
Responsive UI: User-friendly interface built with HTML, CSS, and JavaScript.
-
Frontend: HTML, CSS, JavaScript, AJAX
-
Backend: Java, JSP, Servlets
-
Database: MySQL
-
Development Tools: Eclipse IDE, Apache Tomcat
├── src/
│ └── org/
│ └── Voting/
├── WebContent/
│ ├── WEB-INF/
│ └── index.jsp
├── build/
├── .classpath
├── .project
└── README.md
-
Clone the Repository:
bash git clone https://github.com/AnkitVS/Online-Voting-Java.git -
Import into Eclipse:
-
Open Eclipse IDE.
-
Go to
File>Import...>Existing Projects into Workspace. -
Select the cloned repository folder.
-
-
Configure Database:
-
Set up a MySQL database named
online_voting. -
Import the SQL schema from
OnlineVotingJava_SQL.sql.
-
-
Run the Application:
-
Right-click on the project in Eclipse.
-
Select
Run As>Run on Server.
-
AnkitVS -- GitHub Profile
