+

Search Tips   |   Advanced Search

Formatting XML documents with XSLT

Learn how a Struts application supports applying a style sheet to XML data.

The typical way that a Struts application supports applying a style sheet to XML data is to implement a Struts Action that writes directly to the response object. The IStrutsPrepareRender interface allows implementing a Struts action that will be executed in the render phase of portal, and therefore will have a response object that can be written to. The SPFLegacyTransformation.war is an example of how to implement a Struts action in the Struts Portlet Framework that can apply a style sheet to an XML document.

We can locate legacy portlets, such as SPFLegacyTransformation.war, from the HCL WebSphere Portal Catalog.


Related information


Parent Struts Portlet Framework