Question: why jsf is better than jsp?
Answer: JSP must be compiled in Java bytecode in order to function properly. JSF is a framework. JSP is not a request driven model view controller, but JSP is accessed by the dynamically generated web pages like HTML or XML. JSF supports validator and conversion,ajax.