In this tutorial, you will learn to build a Struts-based Web application
using a Web diagram. A Web diagram is a file that helps you visualize the
application flow of a Faces-based or Struts-based Web application.
This tutorial shows you how to create a simple Struts application
that has two Web pages, an action mapping, and a form bean. The application
contains one Web page that takes a year, month, and date as input and manipulates
the data to compute the day of the week. If the input is valid, the computed
value is displayed on an output Web page; if the input is not valid, an error
message is displayed on the input page.
Learning objectives
This tutorial teaches
you how to create a simple Struts application, after which you will know how
to:
- Create a Struts project
- Edit a Web diagram
- Create and edit JSPs
- Add application logic
- Test a Struts application
This tutorial should take approximately 60 minutes to finish.
If you explore other concepts related to this tutorial, it could take longer
to complete.
Skill level
Advanced
Audience
Web application developers, Web UI designers
System requirements
To complete this tutorial
you must first have a runtime server configured. This tutorial will work with
the following servers:
- WebSphere® 6.0
- WebSphere 6.1
- Apache Tomcat 5.5
Prerequisites
To complete this tutorial, you
should be familiar with:
- Basic Web design concepts, such as Web sites, pages, browsers, and servers
- Web page elements, such as tables, hyperlinks, forms, and images
- Editing HTML code for Web pages
- Workbench perspectives and views