what is the differance between Facelets and JSP?

What is the differance between Facelets and JSP?What are the benifits of using Facelets and why we need to use XHTML with facelets but not HTML?
[158 byte] By [bronze-starDukes] at [2007-11-26 12:14:58]
# 1

Facelets is just a library of jsf tags that do UI layer stuff. JSP is servlet code that may or may not be used to do UI layer stuff.

Facelets main benefit is templating. Think tiles or tapestry, or a clever text parser you could write yourself if you wanted to spend the effort.

The main attraction to xhtml is that they can be validated. I think that is more secondary to the facelets people wanting to eliminate the JSP stack.

bronzestar at 2007-7-7 14:18:14 > top of Java-index,Archived Forums,Socket Programming...