O'Reilly logo

Core Servlets and JavaServer Pages™: Volume 1: Core Technologies, 2nd Edition by Larry Brown, Marty Hall

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Overview of JSP Technology

Topics in This Chapter

  • Understanding the need for JSP

  • Evaluating the benefits of JSP

  • Comparing JSP to other technologies

  • Avoiding JSP misconceptions

  • Installing JSP pages

  • Surveying JSP syntax

JavaServer Pages (JSP) technology enables you to mix regular, static HTML with dynamically generated content. You simply write the regular HTML in the normal manner, using familiar Web-page-building tools. You then enclose the code for the dynamic parts in special tags, most of which start with <% and end with %>.

For example, Listing 10.1 (Figure 10-1) presents a very small JSP page that uses a request parameter to display the title of a book. Notice that the listing is mostly standard HTML; the dynamic code consists entirely ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required