< Previous | Next >

 

Introduction: Use Struts to create a Web application

 

+

Search Tips   |   Advanced Search

 

In this tutorial, you will learn how to create a simple Struts application that contains two Web pages, an action mapping, and a form bean. You will use the Web diagram editor to help you visualize the logic flow of the application. The resulting application displays an input Web page where users can type a year, a month, and a date. If the input is valid, the corresponding day of the week is computed and shown on an output Web page. If the input is invalid, an error message is displayed on the input Web page. You will also learn how to set up a runtime test environment and test your application.

 

Learning objectives

You will learn how to do these tasks:

  1. Create a Struts project
  2. Edit your Web diagram
  3. Create and edit a form bean
  4. Create input and output JSP files
  5. Create an action and an action mapping
  6. Add ActionError tags to the input JSP page
  7. Test your Struts application

 

Time Required

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 and Web user interface designers

 

System requirements

To complete this tutorial, you need one of the following servers configured on your local machine:

To complete this tutorial, install Struts Tools. To install Struts Tools, in Installation Manager, click...

Modify | Features list | Struts Tools | Modify

 

Prerequisites

To complete this tutorial, you should be familiar with the following areas:

Lessons in this tutorial

< Previous | Next >