JSP technology is used to create web application just like Servlet technology. It can be thought of as an extension to Servlet because it provides more functionality than servlet such as expression language, JSTL, etc.A JSP page consists of HTML tags and JSP tags. The JSP pages are easier to maintain than Servlet because we can separate designing and development. It provides some additional features such as Expression Language, Custom Tags, etc. There are various advantages of JSP over Servlet like Extension to Servlet, Fast Development: No need to recompile and redeploy,Less code than Servlet, In JSP both static and dynamic code are seprated but in Servlet not and Both presentation layer and business logic layer put together in Servlets. In JSP, they can be separated with the usage of JavaBeans.