Chapter 3. A Fast Introduction to Basic JSP Programming

Topics in This Chapter

  • Understanding the benefits of JSP

  • Invoking Java code with JSP expressions, scriptlets, and declarations

  • Structuring the servlet that results from a JSP page

  • Including files and applets in JSP documents

  • Using JavaBeans with JSP

  • Creating custom JSP tag libraries

  • Combining servlets and JSP: the Model View Controller (Model 2) architecture

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, here is a section ...

Get More Servlets and JavaServer Pages™ 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.