Team and User Controllers

Learn how to implement and utilize team and user controllers.

We'll cover the following

We will start by creating a couple of controllers:

  • com.tamingthymeleaf.application.user.web.UserController: This controller is responsible for the users of the application. In our example, these are the basketball players, the coaches, the administrators, etc.
  • com.tamingthymeleaf.application.team.web.TeamController: This controller is responsible for the teams within the application.

This is the code for the UserController:

Get hands-on with 1200+ tech skills courses.