A controller is responsible for executing a sequence of instructions in response to some stimulus (maybe a command, action, or event). This is often used in conjunction with the Spring or model-view-controller tags.
A controller is responsible for executing a sequence of instructions in response to some stimulus (maybe a command, action, or event). It may be used to refer to the controller portion of the MVC (Model-View-Controller) pattern, or a general handler for actions and events that orchestrates a response. It may also refer to the Spring annotation @Controller
.
As it can refer to a number of different things, this tag is best used in conjunction with other tags. So, if you're referring to the Spring @Controller
annotation, use the Spring
tag in conjunction with this one. If you're referring to the general MVC controller, use the model-view-controller
tag.