Struts in Action: Building Web Applications with the Leading Java Framework
暫譯: 《Struts 實戰:使用領先的 Java 框架構建網頁應用程式》

Ted Husted, Cedric Dumoulin, George Franciscus, David Winterfeldt, Craig R. McClanahan

  • 出版商: Manning
  • 售價: $1,740
  • 貴賓價: 9.5$1,653
  • 語言: 英文
  • 頁數: 630
  • 裝訂: Paperback
  • ISBN: 1930110502
  • ISBN-13: 9781930110502
  • 相關分類: Java 程式語言
  • 已過版

買這商品的人也買了...

商品描述

Struts solves the most common problems of web development. By basing your application on the Struts framework, you can reuse proven solutions and focus on what's unique to your own case. Struts is an open-source product distributed by the Apache Software Foundation. Struts in Action is a comprehensive introduction to the Struts framework. It covers initial design, data validation, database access, dynamic page assembly, localization, product configuration, and other important areas. It shows you how to use both JSP tags and Velocity templates. It carefully explains the Struts architecture and control flow, as well as how to extend framework classes.

Differences between Struts 1.1 and Struts 1.0. are pointed out and a case-study illustrates the 1.0 to 1.1 transition. The book shows you dozens of proven design techniques, patterns, and strategies, many of them not found elsewhere.

What's Inside:

  • Struts 1.1 and 1.0
  • Jakarta Validator and Tile packages
  • Jakarta Scaffold toolkit
  • Velocity templates
  • HTTP, Java Servlets, and JSP tags
  • Dynamic web programming
  • Servlet-centric application design
  • Working with databases and data services
  • Design and development patterns
  • Tons of examples

Table of Contents

Part 1 Getting started with Struts 1

1 Introduction 3
2 Exploring the Struts architecture 29
3 Building a simple application 59
4 Configuring Struts components 105

Part 2 Raising your framework 145

5 Coping with ActionForms 147
6 Wiring with ActionForwards 183
7 Designing with ActionMappings 193
8 Working with Action objects 207
9 Extending ActionServlet 255

Part 3 Building your pages 265

10 Displaying dynamic content 267
11 Developing applications with Tiles 319
12 Validating user input 365
13 Localizing content 409

14 Using data services with Struts 437

Part 4 Struts by example 473

15 Artimus: pulling out the stops 475
16 Redux: migrating to Struts 1.1 533
17 Velocity: replacing JSPs 555
 
A Design patterns 573
B The struts-config API 583
C Taglib quick reference 599

商品描述(中文翻譯)

Struts 解決了網頁開發中最常見的問題。透過基於 Struts 框架來構建應用程式,您可以重用經過驗證的解決方案,並專注於您自己案例中的獨特之處。Struts 是由 Apache Software Foundation 發布的開源產品。《Struts in Action》是對 Struts 框架的全面介紹。它涵蓋了初始設計、數據驗證、數據庫訪問、動態頁面組裝、本地化、產品配置及其他重要領域。它展示了如何使用 JSP 標籤和 Velocity 模板。書中詳細解釋了 Struts 的架構和控制流程,以及如何擴展框架類別。

書中指出了 Struts 1.1 和 Struts 1.0 之間的差異,並通過案例研究說明了從 1.0 過渡到 1.1 的過程。這本書展示了數十種經過驗證的設計技術、模式和策略,其中許多在其他地方找不到。

書中內容包括:
- Struts 1.1 和 1.0
- Jakarta Validator 和 Tile 套件
- Jakarta Scaffold 工具包
- Velocity 模板
- HTTP、Java Servlets 和 JSP 標籤
- 動態網頁編程
- 以 Servlet 為中心的應用程式設計
- 與數據庫和數據服務的互動
- 設計和開發模式
- 大量範例

目錄:
第一部分 開始使用 Struts 1
1 介紹
2 探索 Struts 架構
3 構建一個簡單的應用程式
4 配置 Struts 組件

第二部分 提升您的框架
5 處理 ActionForms
6 與 ActionForwards 連接
7 使用 ActionMappings 設計
8 與 Action 物件互動
9 擴展 ActionServlet

第三部分 構建您的頁面
10 顯示動態內容
11 使用 Tiles 開發應用程式
12 驗證用戶輸入
13 本地化內容
14 使用數據服務與 Struts

第四部分 透過範例學習 Struts
15 Artimus: 全力以赴
16 Redux: 遷移到 Struts 1.1
17 Velocity: 替代 JSPs
A 設計模式
B struts-config API
C 標籤庫快速參考