Go To AppexTech

Struts Training

1: Hour Daily

Duration :-Months

 

Objective

Learn how to build complex web application using Struts 1.1.

Description

Struts is a Java Framework to make building complex web applications easier. In this you'll master the concepts of Struts while building a non-trivial web application, based on the Struts 1.1 Framework.

Prerequisites

Students should already be familiar with Java and Servlet/JSP programming.

Topics

1. Struts Overview

  • What problems does Struts solve?
  • What are the piece of struts?
  • Struts pros and cons

2. Struts Concepts

  • Web Frameworks
  • Model View Architecture
  • Form Re-population
  • Form Validation
  • Templating

3. Workstation Setup

  • Installing Web Container
  • Creating a Starter Web App
  • Installing Struts
  • Add the Struts jar File to Your Web App
  • Declare the Struts Servlet in web.xml
  • Map the Struts Servlet
  • A Shell Struts Config File

4. Your First Struts Application

  • Create the Controller (the Action Class)
  • Create the View
  • Update Struts Config File
  • Run the application

5. Struts Components

  • Actions
  • ActionForms
  • ActionForwards
  • ActionMappings
  • struts-config.xml
  • Struts Tag Libraries

6. More on ActionForms

  • Using Maps
  • Using Nested Properties
  • Using Indexed Properties
  • Using DynaForm
  • Tips and Tricks

7. Using Struts Tag Libraries

  • HTML Tags
  • Bean Tags
  • Logic Tags
  • JSTL Tags

8. Templating with Tiles

  • Simple Tiles Page
  • Reusing Layouts
  • Definitions
  • More Complex Components

9. Struts Validator

  • Validator Overview
  • Basic Validators
  • Validator Tags
  • ValidatorForm and ValidatorActionForn
  • Creating Validator

10. Using Struts with Databases

  • DataSources
  • Useful Design Patterns

11. Internationalization

  • Resource Bundles
  • i18n with Struts Tags
  • i18n with Error Messages
  • i18n with Validator
  • i18n with Tiles

 Back