Kizspy.me
Field Name Type
Constrain
id
INT
Validation
Description
Primary Key, Room ID: an integer that auto-increments.
null,
not
IDENTITY(1,1)
title
price
location
nvarchar(100)
decimal(10,2)
nvarchar(150)
Not null
Not null
Not null
description nvarchar(MAX) Not null
posted Date datetime
status
Int
Default 0
username
varchar(50)
Not null,
foreign key
Title (e.g., "Phòng trọ 25m2, Q1")
Rental price (VND/month)
Rental address (House number, Street name,
District name, City)
Detailed description of the room for rent
Listing date and time
Listing status:
-2: Deleted
-1: Reported
0: Available
1: Rented
2: Expired
Room listing poster (reference to the Account
table)
Zoom
Requirements:
Create a Java web application, which can be used to manage the Room for Rent. The application
have the following functions:
1. Login - Logout...
1.1. Login
..[4.0d]
1.1.1. On login.jsp page, user enters username and password to login system, These fields
cannot be left blank and must use the appropriate input type...
....... 0.5d
1.1.2. if the usernameor the password is incorrect, the error message will be display like
this "Invalid user or password".
0.5d
1.1.3. if the username with the password is correct, then grant the access permission, Set
+ 91%
Close