This application is used by staff of APTDC and each user is given a unique login name and password.
The following are the major operations of this application:
Operation | Description | Related Files and Objects |
---|---|---|
Login page | Allows user to log into the application using user name and password. | login.jsp, UserBean Javabean |
Home page | Provides links to related operations. | mainpage.jsp,home.jsp, links.jsp,UserBean Javabean |
Change Password | Allows user to change his/her password. | changepassword.jsp, UserBean JavaBean |
Log out | Allows user to log out of the application. | logout.jsp |
Query Status of Rooms | Finds out the availability of rooms based on the selected criteria | search.jsp, Accommodations and RoomTypes custom tags |
Booking room | Books room based on the input. Takes information about customer. | booking.jsp, bookfinal.jsp, Accommodations custom tag, CustomerBean Javabean |
Vacating/Cancellation/Renewal of room | Allows user to select accommodation and room number and display options. | updateroomstatus.jsp, CustomerBean JavaBean, Accommodataions custom tag |
Add Room | Allows admin to add a new room | addroom.jsp, RoomBean Javabean |
Add Accommodation | Allows a new accommodataion details to be added. | addaccom.jsp, AccomBean JavaBean |
Add Location | Allows a new location details to be added | addlocation.jsp, LocationBean JavaBean |
Send News Letter | Sends news letters to subscribers | sendmessage.html, sendmessage.jsp |
aptdc |- WEB-INF | |-classes | | |-aptdc | | |- DBUtil.java | | |- CustomerBean.java | | |- UserBean.java | | |- RoomBean.java | | |- LocationBean.java | | |- AccomBean.java | | |- Accommodataion.java | | |- Locations.java | | |- RoomTypes.java | | |- Rooms.java | |-lib | | |- classes111.jar | |-web.xml | |-aptdc.tld |- styles.css |- login.jsp |- home.jsp |- mainpage.jsp |- links.jsp |- addroom.jsp |- addaccom.jsp |- addlocation.jsp |- changepassword.jsp |- updateroomstatus.jsp |- search.jsp |- tables.sql |- getstatus.sql |- booking.jsp |- bookfinal.jsp |- sendmessage.html |- sendmessage.jsp
The following are the steps to related to be taken to run this application :
javac *.java
http://localhost:8080/aptdc
javac *.java
http://localhost:7001/aptdc