point10.1.2007
PHP With MySQL Programming remains the #1 selling course of 2007!

point related info
point1.8.2007
PHP/MySQL course ends the year in dramatic fashion by outselling all other courses in the final quarter of 2006.

point related info
newsletter icon
Enter valid email address to
receive our monthly newsletter
Email:

Name:
spacer
 

Introduction to Struts 1.1


Course Description:

Struts are a framework upon which to build web applications consisting of several related technologies: JSP, Servlets, XML, and custom tags. This course teaches the basics of Struts as well as more complex usage and configuration of Struts, based on the Struts 1.1 framework.

An understanding of the architecture, design, and implementation of the Struts framework is achieved through detailed explanation followed by hands-on exercises that demonstrate the use of each major Struts component. The major components of the Struts framework include Actions, ActionForms, and ActionMappings.

Additional topics include: configuring, testing and deploying Struts applications, the Validator framework, Tiles or templates, and the Digester package which is a simplified XML processor for use with Struts.


Course Duration: 3-days
more info
email:
name:
phone: - -
message:

Prerequisites and Assumptions:

Participants should have attended a JSP and Servlets programming course or have similar experience working with JSP and Servlets.

Recommended Follow-up/RelatedCourses

Introduction

  • The Model-View-Controller Design Pattern
  • MVC Model 2
  • Jakarta Struts Overview
  • Outline of Struts project
  • Struts Tag Libraries
  • Primary Components of Struts
  • Front Controller
  • Action Class
  • Form Beans
  • Exception Handling

Struts Framework Introduction

  • The Struts Installation
  • Web Application Structure
  • Creating a Struts Application
  • web.xml and struts-config.xml
  • Flow Control
  • Creating ActionForm Beans
  • Creating Actions
  • Global Forwards
  • Message Resources
  • Form Bean
  • Validation Error Messages
  • Action Mappings

Configuring Struts

  • Web Application Directory Structure
  • Web Application Deployment Descriptor
  • web.xml
  • action servlet mapping
  • Welcome file list
  • Struts-config.xml
  • Data sources
  • Form beans
  • Global exceptions
  • Global forwards
  • Action mappings
  • Controller configuration

The Controller
  • What is the role of the Controller?
  • The ActionServlet
  • The RequestProcessor
  • Why it was introduced in Struts 1.1
  • Struts Action Classes
  • What is the Action Class’ role?
  • Session validation
  • Authorization
  • Logging
  • The execute method

The Model
  • What does the Model represent?
  • Design Concerns for the Model
  • ActionMapping class
  • The role of the ActionServlet
  • ActionForward class
  • ActionErrors class
  • Built-in Struts Actions
  • ForwardAction class
  • IncludeAction class
  • DispatchAction class
  • .LookupDispatchAction class
  • SwitchAction class

The View
  • What is the role of the View?
  • ActionForm class
  • Configuring ActionForms
  • Performing Validation with ActionForms
  • DynaActionForms
  • Configuring DynaActionForms
  • Configuring DynaActionForms

Custom JSP Tag Libraries

  • Struts-html
  • Struts-logic
  • Struts-bean
  • Struts-nested
  • Struts-template

Exception Handling with Struts

  • Programmatic Exception Handling
  • Declarative Exception Handling
  • struts-config.xml
  • <global-exceptions>
  • Logging with Struts

The Validator Framework

  • A description of the Validator Framework
  • The need for the Validator Framework
  • Validator
  • validation.xml
  • validator-rules.xml
  • ValidatorServlet
  • ValidatorForm

The Tiles Framework

  • What are Tiles?
  • Configuring Tiles
  • Using Tiles
  • A Layout Tile
  • Passing content to a Layout
  • Tiles Tag Library
  • Tiles Definitions
  • Declaring Definitions
  • JSP page
  • Configuration file
  • Extending Tile Definitions (inheritance)
  • Internationalization and Tiles
  • Separate definition files
  • Naming conventions
  • How is the correct definition applied?

Packaging and Deploying a Struts Application
  • JAR files
  • WAR files
  • The required file structure
  • Build and Deploy using Ant

   
php logomysql logo

home | training | courseware | consulting | mentoring
contact us | about us | clients | news | policies

Copyright © 2005 by Ambrose King Company. All rights reserved.