Difference Between JSF, Servlet, and JSP | Baeldung
In light of the MVC design pattern, the servlet acts as a controller and JSP as a view, whereas JSF is a complete MVC. As we already know, the servlet will need manual HTML tags in Java code. For the same purpose, JSP uses HTML and JSF uses Facelets. Additionally, both provide support for custom tags, too.