servlet is a Java class implementing the javax.servlet.Servlet interface that runs within a Web or application server's servlet engine, servicing client requests forwarded to it through the server.
1. JSP is a web scripting language that can generate dynamic content, which is a Java Servlet program, has also been prepared to create dynamic web content.
2. Servlets comparison, JSP run faster.
3. JSP can be compiled into Java Servlets's.
4. It easier than in Java in the JSP code.
5. JSP and Java Servlets are usually used in combination today.