Reputation: 11
I am using facelet and servlet so, is it possible to use facelet with servlet like jsp with servlet ?
and how much it is compitible and which one is better ?
Upvotes: 1
Views: 138
Reputation: 85779
As explained in Java EE 6 Tutorial: Introduction to Facelets (emphasys mine):
The term Facelets refers to the view declaration language for JavaServer Faces technology. JavaServer Pages (JSP) technology, previously used as the presentation technology for JavaServer Faces, does not support all the new features available in JavaServer Faces in the Java EE 6 platform. JSP technology is considered to be a deprecated presentation technology for JavaServer Faces. Facelets is a part of the JavaServer Faces specification and also the preferred presentation technology for building JavaServer Faces technology-based applications.
As you can notice, Facelets works with JSF, not with plain servlets.
More info:
Upvotes: 1