JavaServer Pages (JSP) is a Java technology that allows to dynamically generate HTML,XML or other types of documents in response to a Web client request. It permits Java code and certain pre-defined actions to be embedded into static content.
The JSP syntax adds additional XML tags, called JSP actions, to be used to invoke built-in functionality. Additionally, the technology allows for the creation of JSP tag libraries that act as extensions to the standard HTML or XML tags. Tag libraries provide a platform indipendent way of extending the capabilities of a webserver.
JSPs are compiled into servlets by a JSP compiler. A JSP compiler may generate a servlet in Java code that is then compiled by the Java compiler, or it may generate byte code for the servlet directly.