JSP Tutorial Summary

Intertech Tutorials

JSP Tutorial Summary

JSPs have many of the servlet advantages while solving some of the troublesome issues associated with servlets. JSPs allow HTML professionals and Java professionals to work in the same file and syntax (maybe the same tools) to assemble the web pages. Unlike servlets, no configuration of JSPs is required. JSPs are not registered or mapped in the web.xml file.

A JSP is stored in plain text format with a .jsp extension. JSPs are stored with the HTML pages of your Web site. The Web container takes a JSP and turns it into a servlet, generating and compiling the Java code for you.

Aside from HTML, there are three types of JSP structures: scripting elements, directives and tags. In addition, as of the JSP 2.0 specification, there is an additional expression language that Java JSP developers must know.

There are three script elements each with identifying syntax.

JSPs come with a set of predefined variables called implicit objects.


Copyright (c) 2008-2013. Intertech, Inc. All Rights Reserved. This information is to be used exclusively as an online learning aid. Any attempts to copy, reproduce, or use for training is strictly prohibited.