- Pull the prj301-demo4.
- Review the code to see the changes of filenames:
- login.html is changed to login.jsp
- XXServlet is change to XXController
- Develop the LoginController which check username and password. If username and password are correct, REDIRECT to
/student
(StudentController), else FORWARD tologin.jsp
- The
login.jsp
gets the error from LoginController to show in Login form.
- Take all screenshots of your code and demostration
- Implement file StudentController which check parameter
action
, ifaction
islist
, retrieve Student list and transfer tostudentlist.jsp
- Implement file studentlist.jsp to render the student list
- Take all screenshots of your code and demostration