14.1 Overview

Struts portlet projects share common characteristics with standard portlets and Struts projects, although there are some differences of which you should be aware. The Struts portlet project structure and related resources are dictated by the Struts portlet framework support provided by WebSphere Portal and include in Rational Application Developer.

Struts portlet projects are created using the New Portlet Project wizard. A default Struts-type portlet and, optionally, a Web diagram file will be added in the process of creating the project. The wizard automatically generates Struts portlet configuration files and the necessary updates to the web.xml file, and adds all of the Struts portlet framework tag libraries and JAR files to the project in the directory structure that is required.

We will also add support to Edit mode to show how to update portlet objects (namely the PortletData) in order to store user preferences.


Redbooks
ibm.com/redbooks