About this tutorial
This tutorial introduces the fundamentals of JavaServer Pages (JSP) technology 2.0 and provides an update to the original tutorial written by Noel J. Bergman that discussed JSP 1.2. This tutorial will give you a solid grasp of JSP basics and enable you to start writing your own JSP solutions. In particular, this tutorial will:
- Discuss the fundamental elements that define JSP, such as concepts, syntax, and semantics.
- Identify and exemplify each element.
- Use short, specific, topical examples to illustrate each element and clearly illuminate important issues related to that element.
This is an introductory tutorial intended for new or novice JSP programmers who have a solid grasp of Java programming and HTML. The emphasis is on simple explanations, rather than exhaustive coverage of every option. If you're a JSP expert, this tutorial is probably not for you. However, it will serve as a reference for knowledgeable developers wishing to shift to JSP 2.0 from earlier versions.
Note that this tutorial is strictly an overview of the JSP syntax and semantics; it does not address programming style.
The JSP 2.0 specification requires J2SE 1.3 or later for stand-alone containers and version 1.4 for containers that are part of a J2EE 1.4 environment. To get started with JSP 2.0, the Web container must also support the Java Servlet 2.4 specification. All JSP containers must be able to run in a J2SE 1.4 environment.
Also, the JSP 2.0 specification uses the Servlet 2.4 specification for its Web semantics.




