This project is an implementation of an Online Train Ticket System using Java, JSP, and Servlets. It was developed as part of the 2nd-year 1st-semester coursework for the Object-Oriented Programming (OOP) module at Sri Lanka Institute of Information Technology (SLIIT).
The Online Train Ticket System is a web-based application designed to facilitate the purchase of train tickets online. It allows users to view train schedules, check seat availability, book tickets, and manage their bookings conveniently from a web browser.
- User Authentication: Secure login and registration system for users.
- Train Schedule Display: Display of available train schedules and routes.
- Seat Availability: Real-time seat availability for different trains and classes.
- Booking Management: Allows users to book and manage their train ticket bookings.
- Admin Panel: Admin functionalities for managing trains, schedules, and user bookings.
- Java: Core programming language used for backend development.
- JSP (JavaServer Pages): Used for dynamic web page creation.
- Servlets: Handles requests from the web server and generates responses.
- HTML/CSS: Frontend design and structure.
- MySQL: Database management system used for storing user and ticket information.
To run this project locally:
- Ensure you have Java Development Kit (JDK), Apache Tomcat, and MySQL installed.
- Clone this repository to your local machine.
- Set up the MySQL database using the provided SQL schema.
- Configure the database connection in the project files.
- Deploy the project on an Apache Tomcat server.
- D.D.K.S.Dias (IT21220760) - Project Lead
- De Silva K.A. (IT21212536)
- Prasangi W.K.K.I. (IT21215674)
- Yapa Y.A.I.D. (IT21214134)
Feel free to contribute to this project by forking the repository and submitting pull requests for enhancements or bug fixes.