JavaServer Pages or JSP is a technology that allows Web developers and designers to create websites with dynamic content. It uses the Java programming language for content generation, page layout designs and rapid development of platform-independent Web applications.
The JSP technology works by using XML tags and scriptlets to contain the logic required to generate dynamic content. This allows the user interface to be separate from the page logic, allowing designers to make changes on the appearance of the Web pages without affecting the underlying logic. JSP also benefits from the features and advantages of the Java Servlet technology, because it is an extension of the latter. These advantages include marginal operating costs, better performance and ease of use.