What Is a JSP Page?

A JSP page is a text-based document that contains two types of text: static template data, which can be expressed in any text-based format, such as HTML, SVG, WML, and XML; and JSP elements, which construct dynamic content. A syntax card and reference for the JSP elements are available at:

http://java.sun.com/products/jsp/technical.html#syntax

The Web page in Figure 11-1 is a form that allows you to select a locale and displays the date in a manner appropriate to the locale.

Figure 11-1. Localized Date Form

The source code for this example is in the j2eetutorial/examples/src/web/date directory created when you unzip the ...

Get J2EE™ Tutorial, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.