userimage

Difference between JSF, Servlet and JSP?

Is JSP some kind of Servlet? How are JSP and Servlet related to each other? How are JSP and JSF related to each other? Is JSF some kind of prebuild UI based JSP?
userimage

Here you can find the differences and the explanations,


Is JSP some kind of Servlet?

No JSP's are not servlet but we can't run the JSP's directly on server without JSP compiler and the job of JSP compiler convert the JSP into valid servlet which we can run on any server which support Servlet API's.


How are JSP and Servlet related to each other?

JSP's are just a high level programming which is make developers life simpler. But server can't understand JSP directly so every server contains JSP engine to understand the JSP's and convert into Servet.  




Answer is