If the task of the Model-View-Controller mvc template is to give an opportunity to independently modify the model in the sense of business logic, a view in the jsp sense or something that will output data for the user, and a controller in the sense of Servlet (please correct if I am mistaken here).

Then I understand correctly that:

Servlets should not have any business logic, but only use the interface of the module that is responsible for this logic, and should not make changes to the jsp / html structure, but only transfer parameters between the model and the view?

  • The servlet has nothing to do with MVC. The servlet provides the application in the request-response model. - Mikhail Chibel
  • Look here: stackoverflow.com/questions/332857/… - Mikhail Chibel

0