JavaServer Pages (JSPs)
Since JSPs serve essentially the same purpose as servlets, it is natural to ask why there is a need for both. The simple answer is that servlets require the expertise of Java programmers, whilst the production of Web pages for anything more than a simple site is usually the responsibility of Web page authors, who often do not have such programming skills. The introduction of the JavaServer Pages technology attempts to return the job of Web page authoring to those people whose responsibility it is, whilst the Java programmers maintain responsibility for the software components used upon the Web pages. Using JSPs rather than servlets also removes the rather tedious repetition of out.println for HTML tags.