Web development with JavaServer pages / Duane K. Fields, Mark A. Kolb, Shawn Bayern.
By: Fields, Duane K
.
Contributor(s): Kolb, Mark A
| Bayern, Shawn
.
Material type:
BookPublisher: Greenwich, CT : Manning Publications, c2002Edition: 2nd ed.Description: xxxvii, 759 p. : ill. ; 24 cm.ISBN: 193011012X.Other title: JavaServer pages.Subject(s): JavaServer pages| Item type | Current library | Call number | Copy number | Status | Barcode | |
|---|---|---|---|---|---|---|
| General lending | MTU Bishopstown Library Lending | 005.72 (Browse shelf(Opens below)) | 1 | Available | 00158954 |
Browsing MTU Bishopstown Library shelves, Shelving location: Lending Close shelf browser (Hides shelf browser)
Enhanced descriptions from Syndetics:
The second edition of the bestselling Web Development with JavaServer Pages updates and expands the original. In the entirely rewritten first part of the book the authors provide a gentle introduction to the important technologies on which JSP depends. The book then launches into its updated coverage of the JSP 1.2 and Servlet 2.3 standards. New chapters on servlet filters, tag-library validation, and non-HTML content are filled with fresh examples.
This second edition shares the strengths of the first, based on the authors' substantial experience with real-world development. The book covers the complete feature set of JSP 1.2, and both the advantages and the "gotchas" associated with those features. Its depth of coverage has been an important contributor to this book's success.
You'll learn how to use databases in web applications, how to separate the look of a web page from its underlying business logic, and even how to design elegant and scalable application architectures. You can learn from and modify the many examples to get up to speed quickly. And you will develop a deep understanding of JSP technology.
What's inside:
HTTP and Java Servlets Dynamic web scripting Tag-based JSP programming Custom tags JSP components Servlet- and page-centric application designs Working with databases Servlet filters JSP for non-HTML content Tons of examples and real codeIncludes bibliographical references and index.
Introduction -- HTTP and servlets -- First steps -- How JSP works -- Programming JSP scripts -- Actions and implicit objects -- Using JSP components -- Developing JSP components -- Working with databases -- Architecting JSP applications -- An example JSP project -- Introducing filters and listeners -- Applying filters and listeners -- Deploying JSP aplications -- Performing common JSP tasks -- Generating non-HTML content -- JSP by example -- Creating custom tags -- Implementing advanced custom tags -- Validating custom tag libraries -- Changes in the JSP 1.2 API -- Running the refeerence implementation -- Incorporating Java applets -- JSP resources -- JSP syntax reference -- JSP API reference.
Table of contents provided by Syndetics
- 1 Introduction (p. 1)
- 1.1 What is JSP? (p. 2)
- 1.2 Dynamic content on the web (p. 2)
- 1.3 The role of JSP (p. 13)
- 2 HTTP and servlets (p. 17)
- 2.1 The Hypertext Transfer Protocol (HTTP) (p. 18)
- 2.2 Java servlets (p. 23)
- 3 First steps (p. 30)
- 3.1 Simple text (p. 31)
- 3.2 Dynamic content (p. 32)
- 3.3 Processing requests and managing sessions (p. 38)
- 3.4 Separating logic from presentation (p. 41)
- 3.5 Review of examples (p. 45)
- 4 How JSP works (p. 46)
- 4.1 The structure of JSP pages (p. 47)
- 4.2 Behind the scenes (p. 52)
- 4.3 What the environment provides (p. 56)
- 5 Programming JSP scripts (p. 65)
- 5.1 Scripting languages (p. 66)
- 5.2 JSP tages (p. 68)
- 5.3 JSP directives (p. 68)
- 5.4 Scripting elements (p. 83)
- 5.5 Flow of control (p. 93)
- 5.6 Comments (p. 97)
- 6 Actions and implicit objects (p. 101)
- 6.1 Implicit objects (p. 102)
- 6.2 Actions (p. 121)
- 7 Using JSP components (p. 129)
- 7.1 The JSP component model (p. 130)
- 7.2 JavaBean fundamentals (p. 135)
- 7.3 JSP bean tags (p. 140)
- 8 Developing JSP components (p. 165)
- 8.1 What makes a bean a bean? (p. 166)
- 8.2 Some examples (p. 182)
- 8.3 Bean interfaces (p. 189)
- 8.4 Mixing scriptlets and bean tags (p. 192)
- 9 Working with databases (p. 198)
- 9.1 JSP and JDBC (p. 199)
- 9.2 Database driven JSPs (p. 202)
- 9.3 Example: JSP conference booking tool (p. 217)
- 10 Architecting JSP applications (p. 229)
- 10.1 Web applications (p. 230)
- 10.2 Page-centric design (p. 233)
- 10.3 Servlet-centric design (p. 242)
- 10.4 Enterprise JavaBeans (p. 263)
- 10.5 Choosing an appropriate architecture (p. 266)
- 11 An example JSP project (p. 272)
- 11.1 An FAQ system (p. 273)
- 11.2 The storage module (p. 278)
- 11.3 The administration module (p. 286)
- 11.4 The web access module (p. 311)
- 12 Introducing filters and listeners (p. 318)
- 12.1 Life-cycle event listeners (p. 319)
- 12.2 Filters (p. 326)
- 12.3 Using filters and listeners (p. 333)
- 13 Applying filters and listeners (p. 334)
- 13.1 Application description (p. 335)
- 13.2 User authentication (p. 337)
- 13.3 Web authentication (p. 341)
- 13.4 Access control filters (p. 360)
- 13.5 Logging listener (p. 368)
- 13.6 Content filter (p. 372)
- 14 Deploying JSP applications (p. 384)
- 14.1 This means WAR (p. 385)
- 14.2 The art of WAR (p. 390)
- 14.3 Maintaining a WAR footing (p. 415)
- 15 Performing common JSP tasks (p. 418)
- 15.1 Handling cookies (p. 419)
- 15.2 Creating error pages (p. 425)
- 15.3 Mixing JSP and JavaScript (p. 437)
- 15.4 Building interactive interfaces (p. 441)
- 15.5 Validating form data (p. 451)
- 15.6 Building a shopping cart (p. 458)
- 15.7 Miscellaneous tasks (p. 467)
- 16 Generating non-HTML content (p. 470)
- 16.1 Working with non-HTML content (p. 471)
- 16.2 Text content formats (p. 475)
- 16.3 XML documents (p. 477)
- 16.4 External content (p. 482)
- 16.5 Advanced content formats (p. 487)
- 17 JSP by example (p. 493)
- 17.1 A rotating banner ad (p. 494)
- 17.2 A random quote generator (p. 497)
- 17.3 The Tell a Friend! sticker (p. 499)
- 17.4 A JSP Whois client (p. 505)
- 17.5 An index generator (p. 517)
- 17.6 A button to view JSP source (p. 525)
- 18 Creating custom tags (p. 529)
- 18.1 Role of custom tags (p. 530)
- 18.2 How tag libraries work (p. 531)
- 18.3 Tag library descriptors (p. 535)
- 18.4 API overview (p. 544)
- 18.5 Example tag library (p. 559)
- 18.6 Content substitution (p. 560)
- 18.7 Tag attributes (p. 563)
- 18.8 Content translation (p. 567)
- 18.9 Exception handling (p. 575)
- 18.10 To be continued (p. 580)
- 19 Implementing advanced custom tags (p. 582)
- 19.1 Tag scripting variables (p. 583)
- 19.2 Flow of control (p. 587)
- 19.3 Interacting tags (p. 613)
- 19.4 The final ingredient (p. 619)
- 20 Validating custom tag libraries (p. 621)
- 20.1 Two representations of JSP (p. 622)
- 20.2 JSP pages as XML documents (p. 624)
- 20.3 Tag library validation (p. 631)
- 20.4 Example validators (p. 634)
- 20.5 Packaging the tag library (p. 660)
- 20.6 For further information (p. 666)
- A Changes in the JSP 1.2 API (p. 669)
- A.1 Introduction (p. 669)
- A.2 Changes to the API (p. 670)
- A.3 Web application changes (p. 672)
- A.4 Custom tag improvements (p. 673)
- A.5 JavaBean changes (p. 674)
- A.6 New servlet features (p. 674)
- B Running the reference implementation (p. 676)
- B.1 Prerequisites (p. 677)
- B.2 Downloading and installing Tomcat (p. 677)
- B.3 Web applications and Tomcat (p. 681)
- C Incorporating Java applets (p. 683)
- C.1 Browser support for Java (p. 683)
- C.2 The plug-in action (p. 685)
- C.3 Example: applet configuration (p. 690)
- D JSP resources (p. 697)
- D.1 Java implementations (p. 697)
- D.2 JSP-related web sites (p. 697)
- D.3 JSP FAQs and tutorials (p. 698)
- D.4 JSP containers (p. 698)
- D.5 Java application servers with JSP support (p. 699)
- D.6 JSP development tools (p. 700)
- D.7 Tools for performance testing (p. 700)
- D.8 Mailing lists and newsgroups (p. 700)
- E JSP syntax reference (p. 702)
- E.1 Content comments (p. 702)
- E.2 JSP comments (p. 703)
- E.3 [left angle bracket]jsp:declaration[right angle bracket] (p. 704)
- E.4 [left angle bracket]jsp:directive.include[right angle bracket] (p. 705)
- E.5 [left angle bracket]jsp:directive.page[right angle bracket] (p. 706)
- E.6 [left angle bracket]jsp:directive.taglib[right angle bracket] (p. 707)
- E.7 [left angle bracket]jsp:expression[right angle bracket] (p. 708)
- E.8 [left angle bracket]jsp:forward[right angle bracket] (p. 709)
- E.9 [left angle bracket]jsp:getProperty[right angle bracket] (p. 710)
- E.10 [left angle bracket]jsp:include[right angle bracket] (p. 711)
- E.11 [left angle bracket]jsp:plugin[right angle bracket] (p. 712)
- E.12 [left angle bracket]jsp:scriptlet[right angle bracket] (p. 713)
- E.13 [left angle bracket]jsp:setProperty[right angle bracket] (p. 714)
- E.14 [left angle bracket]jsp:useBean[right angle bracket] (p. 715)
- F JSP API reference (p. 718)
- F.1 JSP implicit objects (p. 719)
- F.2 Package javax.servlet (p. 719)
- F.3 Package javax.servlet.http (p. 727)
- F.4 Package javax.servlet.jsp (p. 735)
- F.5 Package javax.servlet.jsp.tagext (p. 740)
- Index (p. 747)
Author notes provided by Syndetics
A web applications developer and Internet technologist, Duane K. Fields is an expert in the design and development of leading edge Internet applications. He lives in Austin, Texas.
Mark A. Kolb, Ph.D. , is a reformed rocket scientist who currently focuses on system architectures for distributed web-based applications. Mark lives in Round Rock, Texas.
Shawn Bayern , a research programmer at Yale University, is the reference-implementation lead for the upcoming JSPTL standard. Shawn lives in New Haven, CT.