JavaServer Pages (JSP) is a technology for building dynamic web applications that can access databases and provide an interactive experience for users. It's a powerful technology with open source implementations (server and platform independent) for building enterprise Web applications. With JSP, existing business systems can be leveraged with minimal overhead, maintenance, and support. JSP: Practical Guide for Java Programmers is designed to cover the essentials of JSP including the basic JSP constructs and the relevant implicit objects as well as more advanced concepts such as incorporating JavaBeans, developing custom tags, utilizing the JSP expression language, building with the JSP Standard Tag Library, and developing complete JSP-Servlet application.
- Covers the latest release of JSP, version 2. 0, and covers new features such as the Expression Language and Standard Tag Library.
- Includes a sample application of an electronic bank Web site, showing the power of JSP in providing the foundation for building Web applications.
- Provides a clear, straight-to-the-point approach to the JSP so that readers can start using it in their own projects right away.
Inhaltsverzeichnis
1;Front Cover;1 2;Practical Guide to JavaServer Pages;4 3;Copyright Page;5 4;Contents;8 5;Preface;12 6;Chapter 1. Introduction to JavaServer Pages;16 6.1;1.1 Introduction to Web Applications;16 6.2;1.2 Getting Started with JavaServer Pages;22 6.3;Exercises;27 7;Chapter 2. The Fundamentals of JavaServer Pages;28 7.1;2.1 Directives;28 7.2;2.2 JSP Declarations;33 7.3;2.3 Expressions;34 7.4;2.4 Scriptlets;35 7.5;2.5 Comments;37 7.6;2.6 Scope;39 7.7;2.7 Implicit Objects;39 7.8;2.8 Standard Actions;49 7.9;Exercises;56 8;Chapter 3. JavaBeans and Forms;58 8.1;3.1 HTML Forms;58 8.2;3.2 JavaBeans;70 8.3;3.3 Simple Web Application;76 8.4;Exercises;85 9;Chapter 4. Expression Language;86 9.1;4.1 EL Overview;87 9.2;4.2 EL and JavaBeans;93 9.3;4.3 EL and Collections;96 9.4;4.4 Functions;102 9.5;Exercises;106 10;Chapter 5. The Standard Tag Library;108 10.1;5.1 Core Tags;109 10.2;5.2 Formatting Tags;118 10.3;5.3 XML Tags;122 10.4;5.4 SQL Tags;125 10.5;Exercises;131 11;Chapter 6. Custom Actions;132 11.1;6.1 Tag Overview;132 11.2;6.2 Tag Files;136 11.3;6.3 Simple Tag Handlers;146 11.4;6.4 Classic Tag Handlers;151 11.5;Exercises;156 12;Chapter 7. Building a Web Application;158 12.1;7.1 Java Servlet Technology;158 12.2;7.2 Ancillary Web-Application Technologies;167 12.3;7.3 Security;173 12.4;Exercises;179 13;A. Tool Installation;180 13.1;A.1 Installing Tomcat;180 13.2;A.2 Installing the Example Code;181 13.3;A.3 Installing the JSP Standard Tag Library;181 13.4;A.4 Installing MySQL;182 14;B. Further Resources;186 14.1;B.1 The World Wide Web;186 14.2;B.2 Java;186 14.3;B.3 Java Servlets;187 14.4;B.4 JavaServer Pages;187 14.5;B.5 The JSP Standard Tag Library;188 14.6;B.6 Databases and JDBC;188 14.7;B.7 Internationalization and Localization;189 14.8;B.8 Security;189 14.9;B.9 Web Applications;189 15;Index;190