 | Level: Intermediate David Carew (carew@us.ibm.com), Senior e-business Architect, IBM
15 Nov 2002 Tiles, an open source project sponsored by the Apache Software Foundation, is a framework that builds on the ability to include other resources in servlets and JSP pages, and lets you assemble pages using predefined page fragments (known as Tiles). This allows view components to be reused and saves developers from having a lot of duplicate HTML and JSP source in their application's view pages. Tiles complements Struts and, as of Struts 1.1 b2, is shipped as part of the Struts distribution. Tiles can be used without Struts, but in this tutorial I'll focus on how they can be used together. In this tutorial, you'll focus on the use of the Tiles templating framework in conjunction with Struts using the WebSphere Studio Application Developer as the development environment.
Prerequisites
This tutorial assumes you have some familiarity with Web application development using servlets and JavaServer Pages (JSP) pages. It is a continuation of the tutorial Struttin' with WebSphere Studio Part 1 and it is assumed you have completed that tutorial.
System requirements
The following software is required for this tutorial:
- WebSphere Studio Application Developer Version 4.03. You can download a trial version here.
-
goforit2.zip - A small slice of the Go-ForIt application we'll use as a starting point for the tutorial. This contains a set of JSP pages and an implementation of an XML-based user repository that we'll use to validate users. It also has the library files from the Struts 1.1 b2 distribution.
Duration
Under two hours
Formats html, pdf
|  | |  |