Before you begin, you must complete Lesson 1.3: Creating and editing a form bean.
In this Lesson you will create and edit a Struts action mapping.
Create a Struts action and action mapping, as follows:
com.ibm.dayofweek
An action mapping is added to the Struts configuration file (struts-config.xml), and a file named ComputeDayAction.java is created in DayOfWeek\JavaSource\com\ibm\dayofweek (DayOfWeek > JavaSource > com.ibm.dayofweek in Project Explorer). The ComputeDayAction.java file opens in the Java editor.
The file ComputeDayAction.java is compiled to produce a ComputeDayAction.class file as shown WebContent > WEB-INF > classes > com > ibm > dayofweek in the Web content folder of the Project Explorer.
Now you are ready to begin Lesson 1.5: Creating two JSP files.