What is JSP?- JSP is a technology that returns dynamic content to the Web client using HTML, XML and JAVA elements.
- JSP page looks like a HTML page but is a servlet.
- It contains Presentation logic and business logic of a web application.
- A JSP page is a text document that contains two types of text: static data, which can be expressed in any text-based format (such as HTML, SVG, WML, and XML), and JSP elements, which construct dynamic content.
- The file extension for the source file of a JSP page is .jsp. It can be composed of a top file that includes other files that contain either a complete JSP page or a fragment of a JSP page.
- The recommended extension for the source file of a fragment of a JSP page is .jspf.
- The JSP elements in a JSP page can be expressed in two syntaxes, standard and XML, though any given file can use only one syntax.
- A JSP page in XML syntax is an XML document and can be manipulated by tools and APIs for XML documents.