The major difference between JPS and Servlets is that JSP files are the Extended version on Servlets.
In JSP we can write HTML Code directly but in Servlets we have include HTML Tags inside the Functions .
When a JSP Executes it will be compiled as a servlet by Tomcat or Any other Application Server like Jboss, Weblogic etc...