You are on page 1of 1

The application is capable of performing these two actions:

1. Display the "Add Product" form. This action sends the entry form in Figure 1.2
to the
browser. The URI to invoke this action must contain the string
Product_input.action.
2. Save the product and returns the confirmation page in Figure 1.3. The URI to
invoke
this action must contain the string Product_save.action.
The application consists of the following components:
1. A Product class that is the template for the action objects. An instance of this
class
contains product information.
2. A ControllerServlet class, which is the controller of this Model 2 application.
3. Two JSPs (ProductForm.jsp and ProductDetails.jsp) as the views.
4. A CSS file that defines the styles of the views. This is a static resource.
The directory structure of this application is shown in Figure 1.4.

You might also like