Syntax of JSP Pages and JSP Documents

This chapter provides tutorial notes and example codes on syntax of JSP Pages and JSP Documents. Topics include what is a JSP Page; what is a JSP Document; writing JSP elements in XML format; generating response in XML format; differences of directive and action 'include' elements.

Syntactic Elements of a JSP Page

JSP Document - JSP Page in XML Format

Writing Scriptlet Element in XML Format

Writing Directive Element in XML Format

Writing Action Element in XML Format

"include" Directive and Action Elements

Execution Result of CurrentTime.jspx

Conclusions:

Table of Contents

 About This Book

 JSP (JavaServer Pages) Overview

 Tomcat 7 Installation on Windows Systems

 JSP Scripting Elements

 Java Servlet Introduction

 JSP Implicit Objects

Syntax of JSP Pages and JSP Documents

 JSP Application Session

 Managing Cookies in JSP Pages

 JavaBean Objects and "useBean" Action Elements

 Managing HTTP Response Header Lines

 Non-ASCII Characters Support in JSP Pages

 Performance of JSP Pages

 EL (Expression Language)

 Overview of JSTL (JSP Standard Tag Libraries)

 JSTL Core Library

 JSP Custom Tags

 JSP Java Tag Interface

 Custom Tag Attributes

 Multiple Tags Working Together

 File Upload Test Application

 Outdated Tutorials

 References

 PDF Printing Version