##### Struts Scripting

- Welcome
- User Guide
- Source Guide

##### Components

- Struts Apps
- Struts EL
- Struts Extras
- Struts Faces
- Struts Scripting
- Struts Taglib
- Struts Tiles

##### Quick Links

- Javadoc
- Struts 1

##### Project Documentation

- Project Information
- Project Reports

## Welcome to Struts Scripting

This component allows Struts Actions to be written in the scripting language of one's choice rather than as Java classes. It uses the Bean Scripting Framework to allow scripts to be written in any language BSF supports like Perl, Python, Ruby, JavaScript, Groovy, and even VBScript.

Struts Scripting allows an application to be developed rapidly with the quick development cycle (edit file -> refresh browser) that one would expect in a scripting environment. Furthermore, it enables other non-Java trained members of a development group, such as web designers who may have a scripting background, to be more involved, leaving the Java developers to create the reusable services the Struts actions will interact with. Finally, when used with Java-like languages such as Groovy, applications can quickly be stood up, then later the Struts action scripts can be migrated to Java for better performance.

### Features

- Implement Actions with JavaScript, Groovy, etc.
- Supports all BSF languages
- Scripts cached in memory on first use
- Ability to pass parameters to script through Struts config

### Documentation

- User Guide - Covers installation and usage
- Source Code Guide - Covers the source layout and how to build Struts Scripting
- Javadocs - Includes `struts` variable and Filter API's.
- Struts Mailreader - A rewrite of the Struts Mailreader example application using Struts Scripting and Groovy