03
Total Marks: 20
Semester: Spring 2019
Due Date: 24/07/2019
CS506 – Web Design and Development
Uploading Instructions:
It must be complete NetBeans IDE project folder (which should contain complete source code, html files,
Java files and builds etc.). After finalizing, compress it with Zip or RAR format and submit it at VU-LMS
within due date.
Your assignment should be in .zip /.rar format. Other file formats will not be accepted.
Save your assignment with your ID (e.g. bc000000000.zip).
No assignment will be accepted through email.
1
Assignment No. 03
Total Marks: 20
Semester: Spring 2019
Due Date: 24/07/2019
CS506 – Web Design and Development
Problem Statement:
You are required to deploy a simple web application using Tomcat Server, named HealthCare for a typical
medical treatment center. In which administrator, after login, will view patients detail, doctors detail, schedule
appointments and at end, logout from system. All activities will be done with the help of a backend database
using MS Access.
Detailed Description:
Admin should be able to login by using "admin" as username and "vu" as password. By considering it, you
need to develop an html page (index.html) which should contain a form as shown below;
Now, write a Java Servlet (LoginServlet.java) that will receive the information submitted from client side
(index.html), verify the input values; whether entered values are correct or not. If authentication is invalid
then print back the message "Invalid Username or Password".
If admin login information is correct, jump to welcome page (welcome.html), which should contain a form
with having following options;
1. View Patients
2. View Doctors
3. Schedule Appointments
4. Logout
2
Assignment No. 03
Total Marks: 20
Semester: Spring 2019
Due Date: 24/07/2019
CS506 – Web Design and Development
Here, Java Servlet (WelcomeServlet.java) will serve the client; if patients view button is clicked, all information
about patients should be fetched from database and will display in a table by using a Java Servlet
(PatientsServlet.java);
When view button from doctors section is clicked, a table containing information about doctors should be
shown by using a Java Servlet (DoctorsServlet.java), after fetching appropriate information from database;
3
Assignment No. 03
Total Marks: 20
Semester: Spring 2019
Due Date: 24/07/2019
CS506 – Web Design and Development
Button schedule appointments should be bound to schedule the appointments by matching patients' diseases
with doctors' specializations from database and display to user by using a Java Servlet
(AppointmentsServlet.java);
Admin can sign out from system by pressing logout button. In this case, developer information (student id,
name and email address) should be displayed via an html page (info.html);
Required Stuff:
Html Pages:
index.html
welcome.html
info.html
Java Servlets:
LoginServlet.java
WelcomeServlet.java
PatientsServlet.java
DoctorsServlet.java
AppointmentsServlet.java
Java Classes:
Patient.java
4
Assignment No. 03
Total Marks: 20
Semester: Spring 2019
Due Date: 24/07/2019
CS506 – Web Design and Development
Doctor.java
Appointment.java
DatabaseHelper.java (must contain all database related code)
Database file:
BSxxxxxxxx.accdb (must be same as your own VU student id)
Good Luck