SP Airlines
SP Airlines is an enterprise web application that allows booking of flights through SP Airlines. It implements shopping cart features in order for the website to conduct e-business on the web. The content and design elements of the website are original, but are coded based on the Bootstrap 4 framework.
Preview
Visit the Website (without database)
Usage
Clone this repository into any directory and follow the steps below.
Eclipse (I/O File Feature)
- Import the project folder
spairlines
. - There is an I/O file feature in
files_aircraft/aircraftinsert.jsp
. - Verify against files for the
WEB-INF
>lib
are correctly imported. There should be thecommons-fileupload-1.3
andcommons-io-2.4
. - Open up the
aircraftbackend.jsp
and search forString filePath = "C:\\spairlines\\WebContent\\images\\";
. - Change the path to which you placed the
spairlines
folder in. - You should be able to browse for a file from any part of your computer and upload to the servlet, and the image will be automatically be deposited into the images folder when inserting a new aircraft.
Eclipse (Email Feature)
- Continuing from above, there is an email feature in
files_guest/bk_confirmation.jsp
. - Verify against files for the
WEB-INF
>lib
are correctly imported. There should be themail-1.47
andactivation-1-.1.1
.
MySQL
- Execute all the dump files in
spairlines_dumps
folder. - It should create and populate all the required tables.
- Execute
spairlines_routines.sql
to create the stored routine for the userdelete feature meant forfiles_admin/superuser.jsp
. - Finally, in all the JSP files, check that the connection to the MySQL instance is verified using your password. The password in this case is
root
.
Acknowledgements
- Darren Chua | @chydarren
- Chng Wei Cheng
Credits
This program was developed as an assignment for the Singapore Polytechnic, ST0291 Enterprise Application Development module. I have uploaded the source files publicly for reference and personal usage only. Please refrain from plagiarising or passing it off as your own work.
Chua Han Yong Darren © 2017. Code released under the GNU Affero General Public License v3.0.