Home > Guides > Core Developers Guide > Configuration Elements > Views |

Apache Struts 2 Documentation
Views
Edit Page Browse Space Add Page Add News

Out of the box, the framework supports JSP, Velocity, and FreeMarker for your application presentation layer. Support for other view technologies is easy to add, if needed.

## JSP Example

The framework comes packaged with a tag library (taglibs) that make it easy to reference framework resources from JavaServer Pages.

Input.jsp

The process of events will go as follows:

1. The client will make request for the page `Input.do`.
2. Since the page has an `.do` extension, the framework will look up the action for `Input`.
3. The framework will select the JSP to render.
4. The JSP will use the `saf` tags to output fields, labels, hyperlinks, and localized messages.
5. The client will receive pure HTML to render.