JSP stands for Java Server Pages. It is a presentation layer technology independent of platform. It comes with SUN’s J2EE platforms. They are like HTML pages but with Java code pieces embedded in them. They are saved with a .jsp extension. They are compiled using JSP compiler in the background and generate a Servlet from the page.
Java Server Page (JSP) is a technology for controlling
the content or appearance of Web pages through the use of servlets, small
programs that are specified in the Web page and run on the Web server to modify
the Web page before it is sent to the user who requested it. Sun Microsystems,
the developer of Java, also refers to the JSP technology as the Servlet
application program interface (API). JSP is comparable to Microsoft's Active
Server Page (ASP) technology. Whereas a Java Server Page calls a Java program
that is executed by the Web server, an Active Server Page contains a script that
is interpreted by a script interpreter (such as VBScript or JScript) before the
page is sent to the user.