This documentation is not maintained. Please refer to doc.castsoftware.com/technologies to find the latest updates.

Summary: this page provides an explanation of Struts 1.0 and 1.1 Frameworks.

What is Struts?

Apache Struts is an open-source web application framework for developing Java EE web applications. It uses and extends the Java Servlet API to encourage developers to adopt a model-view-controller (MVC) architecture. For more information, refer to http://struts.apache.org/

Application or Analysis Unit Setup

Environment Profile

In order to analyze Struts based applications, you must select the following Environment Profiles in your application:

  • Struts 1.1 or 1.0 depending on your application

Check for each environment that your application uses the same version, otherwise duplicate the Environment Profile to preserve parametrization, change its name and select the right version of the archive.

XML files

In the Application or Analysis Unit configuration, you need to select an XML directory that contains Struts XML files. The selection of the Struts 1.0 or 1.1 Environment Profile will automatically find Struts Configuration XML files and manage them. This includes Struts configuration files that are usually named struts-config.xml and also other optional Struts related files: tiles.xml, tiles-defs.xml, stxx-transforms.xml, validation.xml and validator-rules.xml.

These files are usually located in the WEB-INF directory of your application.