Main Menu
<< Back to Design Notes
Description:
Displays the main menu for users, depending on the user type. Every servlet prints a Main Menu at its right hand side. The menu a user gets depends on the type of user.
Output:
For Users who have not logged in:
For managers:
For Customers:
Pseudo Code:
if (user is logged in and is a manager) {
print the managers' menu
}
else if (user is logged in and is a customer) {
print the customers' menu
}
else {
print the menu for users who are not logged in
}