Training Course "Developing with Struts"

"Developing with Struts" is a 4 day course for your development team. It provides all the practical skills required to build a Jakarta Struts-based, web application.

Hands-On Training

The course provides a hands-on environment, with real life examples illustrating the use of the framework. You will be provided with comprehensive notes and a set of references for future background reading.

Course Content

  • The Model 2 / MVC architecture
  • JSP and Servlets
  • Struts Architecture
  • Struts Controller / Actions
  • Struts Forms
  • Form Validation
  • Custom Tags
  • Testing Techniques

Course Fees and Schedule

Courses are run on a regular basis. Select the following for the course schedule and fees.

Customisation

In some cases it can be more appropriate and cost-effective to bring training directly to your company site. We can tailor the training to your company's individual needs without compromising the quality.

If you would like further information about the Struts course or you are interested in an onsite or customised course then please complete the following form, click here

Prerequisites

It is assumed that students attending this course have a solid background in Java programming and OO design. In addition, they should already have had some exposure to the use of Servlets and JSP.

Content Overview

Introduction and Overview

JSP / Servlets

Overview of servlets
JSP and how they compile  to servlets
JSP/ Servlet design patterns

Java Beans and JSP

What is a Java Bean
Use of Beans in JSP               

The Model / View / Controller (MVC) design pattern

Overview of the MVC architecture
Simulated MVC with Servlets + JSP
The Benefits
Application Flow

Struts Overview

An MVC framework
Architecture overview
Controller servlet
Action Objects
Form Objects
Action mappings

Struts – View Components

Page Composite Pattern
Building a page from Templates
Jsp:include vs the Struts template mechanisms
Bean Tags
Html Tags
Logic Tags
Template Tags

Struts – Controller Components

The Action Classes
The Action Servlet
The Struts Data source

Advanced Struts

Use of Tokens
Accessing Indexed Properties
Forward vs Redirect
Dynamically Creating Action Forwards

Custom Tag Library Development

The Anatomy and Life Cycle of a Custom Tag
Developing a Custom Tag
Extending the functionality of the Struts Tag Library
Overview of STL tag library

Testing Struts Applications

Overview of Junit
HttpUnit
StrutsUnit

Course Summary

Glossary