Java Server Pages are just another way of creating a servlet, using a mixture of HTML and specialized tags. The idea with JSP is to insulate the designer of HTML pages from the nitty-gritty details of servlet programming. Bill
Parnini: As William stated, JSPs are (preferably) used to display dynamic content on your browser while Servlets are used to control the flow in a Web site, while communicating with other components (like EJBs) to gather data to be displayed later by the JSPs. Technically, JSPs are compiled into Java Servlets and at the moment of execution they are indistinguishable from regular servlets by the Servlet Container.
Tony Alicea Senior Java Web Application Developer, SCPJ2, SCWCD
I've got no option but to sell you all for scientific experiments. Or a tiny ad: