Jakarta Struts Pocket Reference

Chuck Cavaness, Brian Keeton

  • 出版商: O'Reilly
  • 售價: $790
  • 貴賓價: 9.5$751
  • 語言: 英文
  • 頁數: 144
  • 裝訂: Paperback
  • ISBN: 0596005199
  • ISBN-13: 9780596005191
  • 已過版

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

商品描述

The Jakarta Struts Pocket Reference gives you an inside track on getting Struts installed, configured, and running smoothly in your enterprise. This book, an essential companion to O'Reilly's Programming Jakarta Struts, provides detailed coverage of every Struts JSP tag, the Struts configuration files and directives, built-in actions, and a wealth of other resources.

Table of Contents

Introduction

Part I. Configuring Struts


     Configuring web.xml
            Configuring the Struts ActionServlet
            Declaring Initialization Parameters
            Using the load-on-startup Setting
            Setting Up the Welcome File List
            Configuring the Tag Libraries
     The Struts Configuration Files
            Using Multiple Struts Configuration Files
            The data-sources Element
            The form-beans Element
            The global-exceptions Element
            The global-forwards Element
            The action-mappings Element
            The controller Element
            The message-resources Element
            The plug-in Element

Part II. Using Struts ActionForms


     What Are ActionForms?
     ActionForms and Scope
     The Life Cycle of an ActionForm
     Creating an ActionForm
            The validate( ) Method
            The ActionForm reset( ) Method
     Declaring ActionForms in the Struts Configuration File
     Using an ActionForm
     The DynaActionForm Class
     Configuring Dynamic ActionForms
     DynaActionForm and Validation
            Creating the validation.xml File
            Plugging in the Validator

Part III. Built-in Action Classes


     DispatchAction
     ForwardAction
     IncludeAction
     LookupDispatchAction
     SwitchAction

Part IV. Tag Reference


     Conventions
     Common Tag Attributes
     Using JavaBeans with Struts Tags
            Accessing Simple Properties
            Accessing Nested Properties
            Accessing Indexed Properties
     Bean Tags
            cookie
            define
            header
            include
            message
            page
            parameter
            resource
            size
            struts
            write
     HTML Tags
            Common HTML Attributes
            JavaScript Event Handlers
            HTML Tag Descriptions
     Logic Tags
            Value Comparison
            Empty Value Check
            Value Present Check
            Substring Matching
            Messages Check
            Application Flow Management
            Collection Utilities
     Nested Tags
            Root Tags
            Nested Parent Tags
            Child Tags
     Tiles Tags
            add
            definition
            ge