-
Notifications
You must be signed in to change notification settings - Fork 0
Show User Detail
Homework - Show User Detail
The goal of this homework assignment is to show a detail page for each user displayed in the table view that we have for users in the app currently. This will be much like a detailed contact page in a contact manager application.
You will be extending the SimpleSecureWebsite we did in class on Tuesday.
To do so you need to add a instance variable for ID (an int) to the User class along with getters and setters for that id.
You will need to add a ID column to the table that shows the users to show the users individual ID.
You will need to make that ID for each user instance a clickable link using the tag like we did on the index.html page.
You will then need to add a ViewUserDetailServlet that that link can call much like the login.html page had the link tag call the LoginServlet (aka login).
The ViewUserDetailServlet will then need to get display the user object for the id clicked using a displayUserDetail.jsp. This JSP should show the user name, the email and the user ID and be styled nicely using the Bootstrap CSS features that we added on Tuesday.