# Working with Struts Applications

There are three approaches to using Struts components in Page Flow and Portal applications. You can

1. use your Struts components directly in Page Flow applications,
2. import simple Struts applications into new Page Flow applications, or
3. create portlets directly from your Struts applications.

The first approach uses existing Struts based components without modifying them. This allows your existing Struts components to interact with Page Flow components. You can leverage your existing JSP Pages, Action Classes, Forms Beans and flow configurations. Documentation can be found at Interoperating With Struts and Page Flows. Samples can be found at Struts Interoperation Sample.
The second approach converts simple Struts applications into Page Flow applications. This approach has several restrictions and may not be suitable complex Struts applications. But for simple Struts applications this can be a fast way to move them to the Page Flow framework. Documentation can be found at Merging Struts Artifacts Into Page Flows. Samples can be found at Struts Merge Sample.

The third approach uses the portlet wizard to create portlet definitions based on your existing Struts Modules. Point to a Struts application's configuration file and the Portlet wizard will bring the application's functionality into a Portlet. Documentation can be found at Building Struts Portlets.

Related Topics

Interoperating With Struts and Page Flows

Merging Struts Artifacts Into Page Flows

Building Struts Portlets

### Samples

Struts Interoperation Sample

Struts Merge Sample