3 of 3
Paper No: 1
1.3.1. Clear user session and associated post-login data...
0.5d
1.3.2. Redirect the user back to the login.jsp page in a non-logged-in state.......0.5d
2. Search.
..[3.00]
2.1. Redirect to the login page if the user is unauthenticated and accesses this page via direct
URL entry in the browser.......
..............0.5d
2.2. If no data is entered into the TextBox used for search criteria and the 'Search' button is
clicked, no results will be displayed on the results page
..............0.0.5₫
2.3. If search criteria are entered and the 'Search' button is clicked, only the matching records
will be displayed in the search results table
0.5d
2.4. An 'Update' button should be included in each row of the search results table to enable
users to select and modify the data of the corresponding product.
2.5. If no matching data is found, the message
"No data matching the search criteria found!" will be shown...
...........0.5.d
0.58
2.6. The value entered in the condition TextBox is retained after the search results are
displayed............
3. Update
..................0.5d
[3.0d]
3.1. Redirect to the login page if the user is unauthenticated and accesses this page via direct
URL entry in the browser.......
..........0.54
3.2. When the user clicks the "Update' button in the search results, the Update.jsp page
should display the current information of the selected product
..........0.75.d
3.3. The system must validate the updated data and return appropriate error messages if the
input violates any constraints defined in the corresponding database table schema.0.75d
3.4. If the updated data is valid, the system shall save it to the database. Upon successful
completion, the data grid shall be refreshed with all records retrieved from the database.
.................1.0₫
Note: Full marks may not be awarded if students apply inefficient algorithms or use
inappropriate components in their code.
TheEnd