Lesson 1.1: Creating a Struts project

Struts is a framework of open-source software that can help you build Web applications quickly and easily. Struts uses the model-view-controller (MVC) design pattern of application development. The MVC design pattern makes it easier to create and maintain complex Web applications by separating the application into these three parts:

Click here for a more detailed description of the model-view-controller (MVC) design pattern.

In this Lesson, you will switch to the Web perspective and create a dynamic Web project enabled for Struts.

Switching to the Web perspective

You will use the Web perspective during this tutorial. Follow these steps to switch to the Web perspective:

  1. From the menu bar, select Window > Open Perspective > Other.
  2. In the Select Perspective dialog, click Web.

    If you don't see Web, select the Show all check box and it will appear in the list.

  3. Click OK.
  4. You may see a message asking if you want to enable the Web Development (typical) capability. If you see this message, click OK.
  5. The workbench switches to the Web perspective.

Creating a Struts project

  1. From the menu bar, click File > New > Dynamic Web Project.
  2. On the Dynamic Web Project page, type this text as the name of the project:

    DayOfWeek

  3. Click Next.
  4. On the Features page, make sure that the Struts check box is selected.
  5. Click Finish.

Now you are ready to begin Lesson 1.2: Editing your Web diagram.

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.