[ Team LiB ] Previous Section Next Section

Workshop

The Workshop is designed to help you review what you have learned and help you further increase your understanding of the material covered in this hour.

Quiz

1:

What Struts components form the controller in an MVC paradigm?

2:

Can Struts and JSF be used together?

3:

Is JSF a mature technology today?


Answers

A1:

The action servlet in Struts forms the controller. It uses the struts-config.xml file to figure out which view or model component it should invoke.

A2:

Yes, and with very little modification.

A3:

JSF is still in its infancy. Visit the Sun site to keep up to date with the status of JSF.


Activities

  1. Build a page to edit the user's information using Struts.

  2. Modify your user information page to leverage JavaServer Faces.

    [ Team LiB ] Previous Section Next Section