![]()
Portal Express, Version 6.0
Operating systems: i5/OS, Linux, Windows
Struts Portlet Framework examples
The Struts Portlet Framework in WebSphere Portal Express includes sample applications for both the standard and IBM portlet containers. These samples demonstrate the use of the framework. The previous releases of the Struts Portlet Framework supported only the IBM container.
All sample portlets are available in the portal_server_root/installableApps directory. Subsequent updates of these samples will be available from the portlet catalog by searching for navcode 1WP10017Z.
The following lists the examples for the standard portlet container:
- SPFStandardBlank.war
- SPFStandardClock.war
- SPFStandardCommandManager.war
- SPFStandardEditMode.war
- SPFStandardFileUpload.war
- SPFStandardLookupAction.war
- SPFStandardMailReader.war
- SPFStandardMultipleServletContexts.war
- SPFStandardStockQuote.war
- SPFStandardTiles.war
- SPFStandardTransformation.war
The following lists the examples for the IBM portlet container:
- SPFLegacyBlank.war
- SPFLegacyClock.war
- SPFLegacyCommandManager.war
- SPFLegacyEditMode.war
- SPFLegacyFileUpload.war
- SPFLegacyLookupAction.war
- SPFLegacyMailReader.war
- SPFLegacyMultipleServletContexts.war
- SPFLegacyStockQuote.war
- SPFLegacyTiles.war
- SPFLegacyTransformation.war
The following lists a short description of each sample:
- Blank: These are similar to the Jakarta Struts blank and can be used to obtain the minimum set of files for developing a Struts application for WebSphere Portal Express.
- Clock: This is an example of the new IStrutsPrepareRender interface.
- CommandManager: This demonstrates how to implement a custom command manager.
- EditMode: This demonstrates how to use edit mode to configure an application on the two containers.
- FileUpload: This demonstrates the use of the commons-fileupload framework in a Struts application.
- LookupAction: This demonstrates the use of the portal friendly lookup dispatch action.
- MailReader: This is the same example shipped by Jakarta Struts modified to be deployable in WebSphere Portal Express.
- MultipleServletContext: This demonstrates a method to create a web application with multiple Struts portlets and how the portlets can communicate with each other using the Property Broker.
- StockQuote: This demonstrates the use of the IStrutsPrepareRender interface.
- Tiles: This demonstrates the use of Tiles in the Struts framework.
- Transformation: This demonstrates using the IStrutsPrepareRender interface to apply a style sheet to XML data.
Related Information
Parent topic:
Installed portlets