jfinal develops the login interface. After the user enters the username and password and clicks login, it jumps to the loginservice class to determine the user type.
1. How to write the action address in login.html on the login interface
2. How to determine the type (student, teacher, supervisor)
You can add the type of these three role types to the front-end page, and submit them together with the user name and password to match the back-end query database results. If the match is successful, you will log in, otherwise you will not log in.