Servlets are serverside programs, we can execute servlets with in web or application servers only.Using servlets we can't generate presentation very effectively because html code is hard coded in servlets,so it is very difficult for the programmers to separate presentation. Using jsp we can separate presentation form the processing.Jsp page are compiled not interpreted.Once the Jsp page is generated it is translated into servlet after the compilation.
What' difference b/w JSP AND SERVELET?