datatype
Primary Key
Not null
Not null
Not null
Not null
Field name
productID
productName
description
price
char(5)
varchar(50)
varchar(500)
Float
status
Bit
Note
Zoom
Requirements:
Create a the application, which can be used for shopping. The application have the following functions:
No
1
Function
Display products
2
Add product to
cart
3
View cart
+ 100%
Description
Create a "Search all" button On shopping.jsp page
Click "Search all" button to get all products has status is 3 active.
Display with productID, productName, description,price.
After display the active products on shopping.jsp,
Add a column with an "Add" button for each row
Click the "Add" button to add this product to the cart.
The default quantity for each product addition is one.
Displays the result of after finish
Create a "View cart" button that forwards to viewCart.jsp:
Display information about the products in the cart.
Display as a table, with the following information: No,
Q Tìm kiếm
Mark
3
2
Capturing
Close
VIE
1:05 PM
12/18/2023