JavaServer Pages, 2/e
暫譯: JavaServer Pages, 第二版
Larne Pekowsky
- 出版商: Addison Wesley
- 出版日期: 2003-08-22
- 售價: $1,880
- 貴賓價: 9.5 折 $1,786
- 語言: 英文
- 頁數: 368
- 裝訂: Paperback
- ISBN: 0321150791
- ISBN-13: 9780321150790
已過版
買這商品的人也買了...
-
$1,460$1,387 -
$2,250$2,138 -
$399.NET Enterprise Design with Visual Basic .NET and SQL Server 2000 (Paperback)
-
$2,050$1,948 -
$1,029Operating System Concepts, 6/e (Windows XP Update)
-
$590$466 -
$1,930$1,834 -
$570High-Speed Networks and Internets: Performance and Quality of Service, 2/e (Hardcover)
-
$1,045Linux Kernel Development
-
$4,680$4,446 -
$750$638 -
$720$569 -
$560$476 -
$390$304 -
$850$723 -
$280$218 -
$480$379 -
$750$593 -
$720$569 -
$390$332 -
$680$537 -
$880$695 -
$2,730$2,594 -
$750$638 -
$520$442
商品描述
Since being introduced in 1999, JavaServer Pages™ (JSP) have become a popular and important technology for building dynamic, interactive, content-rich Web sites. JavaServer Pages™, Second Edition is a hands-on guide to working with JSP, offering the easiest and most efficient ways for non-programmers and Web designers to create sophisticated, dynamic sites. Programmers can also utilize this book to independently create new dynamic components. This second edition covers the latest release of the JSP specification (2.0), many standard extensions to JSPs, and a number of best practices that have been developed since the publication of the first edition.
This book also offers overviews of some related technologies, including:
JavaServer Pages™, Second Edition contains all the information necessary to start writing JSP--for anyone who has a computer and can write HTML. It includes practical, Java-based techniques for maintaining and personalizing information-rich Web sites, as well as examples based on Jakarta Struts, the new JSP toolkit. Recent updates provide a number of new tools and techniques that will allow readers to get the most productivity from JSPs, with the least amount of effort.
Also included is a CD-ROM containing everything you need to get started. The tools, which are free, open-source, stable, secure, and run on pretty much every platform, are powerful enough to serve even a mid-sized Web site without problems. Contents of the CD-ROM include: Tomcat™, the open-source reference implementation of the latest JSP and Servlet specification; useful libraries such as the JavaServer Pages Standard Tag Library (JSTL) and Struts; Hsqldb, a self-contained, 100 percent pure Java database; all the code examples from the book; and a number of Java beans, providing ready-to-use components for many of the tasks frequently needed on a dynamic Web page.
Table of Contents
Preface.
Acknowledgments.
1. Introduction.
2. Simple JSPs.
3. Using Beans.
4. The Standard Tag Library.
5. Java News Today: Part I.
6. Databases.
7. Java News Today: Part 2.
8. Working with XML.
9. A Small Cup of Java.
10. Writing Beans.
11. Servlets.
12. The Controller.
13. Creating New Tag Libraries.
14. Advanced Topics.
Appendix A. Summary of Tags.
Appendix B. Configuring a Web Application.
商品描述(中文翻譯)
自1999年推出以來,JavaServer Pages™ (JSP) 已成為建立動態、互動性強且內容豐富的網站的重要技術。《JavaServer Pages™,第二版》是一本實用指南,提供非程式設計師和網頁設計師創建複雜動態網站的最簡單和最有效的方法。程式設計師也可以利用本書獨立創建新的動態組件。本書第二版涵蓋了最新的JSP規範版本(2.0)、許多JSP的標準擴展,以及自第一版出版以來發展出的一些最佳實踐。
本書還提供了一些相關技術的概述,包括:
- JavaBeans™
- Servlets
- JavaServer Pages標準標籤庫(JSTL)
- Jakarta Struts
- 資料庫
《JavaServer Pages™,第二版》包含了開始撰寫JSP所需的所有資訊——對於任何擁有電腦並能撰寫HTML的人來說。它包括實用的基於Java的技術,用於維護和個性化資訊豐富的網站,以及基於Jakarta Struts的新JSP工具包的範例。最近的更新提供了許多新工具和技術,將使讀者能夠以最少的努力獲得JSP的最大生產力。
還附有一張CD-ROM,包含您開始所需的一切。這些工具是免費的、開源的、穩定的、安全的,並且幾乎可以在所有平台上運行,足以支持中型網站的運行。CD-ROM的內容包括:Tomcat™,最新JSP和Servlet規範的開源參考實現;有用的庫,如JavaServer Pages標準標籤庫(JSTL)和Struts;Hsqldb,一個自包含的100%純Java資料庫;書中的所有程式碼範例;以及多個Java beans,提供可即用的組件以滿足動態網頁上經常需要的許多任務。
目錄
前言
致謝
1. 介紹
- 網路的簡史
- 基本動態頁面生成
- 解決CGI問題
- 加速CGI
- 將HTML與程式碼分離
- Servlets與JavaServer Pages
- 歡迎來到Java News Today
- 嘗試範例
2. 簡單的JSP
- 從JSP中移除文本
- JSP錯誤
- 在JSP中包含文本
- JSP的階段
- 創建自定義錯誤頁面
- Java News Today
- 總結與結論
- 本章學到的標籤
3. 使用Beans
- 將大任務拆分為可管理的部分
- 定義Beans
- JavaBean標籤
- 獲取屬性
- 設置屬性
- 使數據在整個應用程序中可用
- 頁面範圍
- 請求範圍
- 會話範圍
- 應用範圍
- 創建Beans時的特殊操作
- 使Beans永久存在
- Java News Today與Beans
- 未來方向
- 總結與結論
- 本章學到的標籤
4. 標準標籤庫
- 標籤庫
- 帶有主體的標籤
- 標籤中的動態屬性
- 顯示表達式
- 格式化輸出
- 表達式語言中的復合數據
- 重複頁面的一部分
- 可選地包含頁面的一部分
- 瀏覽器檢測
- 組合標籤
- 在多個選擇中進行選擇
- 總結與結論
- 本章學到的標籤
5. Java News Today: 第一部分
- Beans
- 標頭
- 左側導航
- 登入頁面
- 測驗結果頁面
- 區段頁面
- 文章頁面
- 其餘頁面
- 總結與結論
- 本章學到的標籤
6. 資料庫
- 資料庫簡介
- 資料庫的語言
- 從JSP直接使用SQL
- 從JSP插入數據
- SQL與Beans
- 總結與結論
- 本章學到的標籤
7. Java News Today: 第二部分
- 設計表格
- 添加文章
- 用戶頁面
- 其他用戶偏好
- 廣告
- 總結與結論
8. 使用XML
- XML簡介
- 在JSP中使用XML
- 從XML文檔中選擇數據
- 在JSP中處理XML
- 格式化XML
- Java News Today與XML
- 總結與結論
- 本章學到的標籤
9. 一小杯Java
- 表達式
- 類型
- 儲存值
- 方法調用
- 條件評估代碼
- 多次評估相同代碼
- 分組代碼
- 處理錯誤
- 使用對象建模問題
- Java中的對象
- 從類構建對象
- 有時候無是有
- 從其他類構建類
- 介面
- 創建類和介面的組
- 在JSP中使用Java
- 從Java訪問資料庫
- 總結與結論
10. 撰寫Beans
- Beans的實現方式
- 自動類型轉換
- Beans的工作原理
- Bean序列化
- 事件
- 特殊事件
- Bean錯誤
- 總結與結論
11. Servlets
- Servlet生命週期
- Servlet類層次結構
- 更多請求相關內容
- 更多響應相關內容
- 便利方法
- Servlet事件
- 轉發和包含請求
- 從Servlet使用範圍
- 從Servlet使用Beans
- JSP類
- 攔截請求
- 總結與結論
12. 控制器
- 一些常見的控制器任務
- 控制器的支持:Struts
- 使用Struts
- 提供安全性
- Struts與JNT