You are on page 1of 1

Objective :

A web-portal is designed to check the availability of rental cars


and book it for the requested date.

(We will assume there exists, 5 cars of different model)

The tentative appearance of the Page :

Car Types (List Box Values are Populated from


database)

Number of Cars
Available ( Read Only Text box. Value is to be

populated after choosing car type)

Date ( Date is to be Validated )

Mail-ID ( Mail ID is to be Validated )

< Add the fields if required >

Reserve

Output Message that appears in the same page :-

Car Already Reserved (Trying to book when Number of Cars is 0)

Car Booked for <DD/MM/YYYY>. Thank You (After booking is successful.


All the controls are to be hidden)

Sorry Your Session is Over. ( If page is kept idle for more than 2 minutes)

Appropriate Coding Standards :

● Login before the page appears.


● Using Struts Architecture
● Use Struts Validation Errors, for errors.
● Use Struts Action Messages for appropriate messages.
● Session-Time out is 2 Minutes.
● No Scriptlets in JSP.
jdbc:mysql://192.168.0.112:3308/e-tracker-2

You might also like