As you can read from the tutorial,
The term Facelets is used to mean a definition of the appearance of the JavaServerTM Faces Frame, which is a page language declaration that has been developed for use with JavaServer Faces. In the form of JavaServer Faces 2.0, Facelets is part of the JavaServer Faces specification, and is also the preferred technology for creating JavaServer Faces-based applications.
Now JSP is the standard viewing technology for the Internet. But when it comes to adopting JSF as a web framework, JSP does not support all the features provided in JSF 2.0. Therefore, to work with JSF 2.0, some standard viewing technology was required. So Facelets is easy.
If you do not work with JSF at all, you do not need to use Facelets. You can go with JSP in this case. Or there are some more template frameworks like FreeMarker and Velocity. Moreover, some web frameworks define their own premium, such as Struts2. Therefore, if you decide to go with Struts, using Struts markup is the way to go.
Adeel Ansari Feb 04 2018-10-02T00 : 00Z
source share