I am trying to understand MVC pattern correctly.
I am using Java and JFS, which means that each HTML page is linked with back-end Java View class. Then View class calls Controller to retrieve some data. Controller use Data class if needed. For me it is logical and seems like it is described in this way on this image:
But on this Image I can see another situation, when a front-end HTML calls a Controller class, which is not logical for me.
Both images are taken from here, but other resources gives me the same confusion.
Please, advice where do I have wrong understanding and what should I read to understand it correctly ?