![]() ![]() pom.xml - Important dependencies are Spring Boot Starter Web and tomcat-embed-jasper.Otherwise, the login page will be shown with the error message. If the user enters a valid user id and password combination, they would be redirected to the welcome page. LoginController has a little bit of flow. LoginController, TodoController - Act as Controllers in the MVC pattern.login.jsp, welcome.jsp, list-todos.jsp - The name clearly explains what each of these views contains.TodoService contains a service method to retrieve a list of todos. LoginService has simple hard coded validation for user ids and passwords. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |