Term of the Moment

binary signature


Look Up Another Term


Definition: JSP


(JavaServer Page) An extension to the Java servlet technology that allows HTML to be combined with Java on the same page. The Java provides the processing, and the HTML provides the layout on the Web page.

Dynamic Web Pages in Java EE
JSPs are the primary method in the Java EE platform for displaying dynamic Web pages. Special tags let Java code be included on the page as well as inserted into HTML statements without invalidating the HTML syntax. It thus lets non-Java programmers maintain HTML pages in their favorite authoring programs without interfering with the Java code on the page. With the use of standard and custom JSP tags, the Java code can be completely hidden (see JSTL and JSP tag).

From JSPs to Java Servlets
At runtime, the application server turns the JSP into a Java servlet (.jsp to .java file) using a JSP converter, which is a part of the servlet container. The servlet is then compiled into bytecode (.class) and run on the server like any other servlet.

The JSP can also call Enterprise JavaBeans (EJBs) for additional processing. JSPs are the Java counterpart to Microsoft's ASPs (Active Server Pages). See servlet and servlet container.




JSPs Run in the Server
JSPs and servlets are server-side applications that are standard features of the Java EE platform.