Struts-based Web applications - overview
A Struts-based Web application, also known as a Struts application, is a Web application that uses the Struts framework.
Using Struts to create a complex Web application can help make the application more maintainable. The application is easier to debug, easier to extend, and easier to understand. Using Struts tools can improve the efficiency by which you create the Struts-based application. The Struts tools work with the Web diagram editor.
Struts applications use the Struts framework to implement a model-view-controller design approach to building Web applications. As part of the controller portion of MVC, each Struts application has an action servlet configured in the application's deployment descriptor (web.xml) file. For a Web application to be a Struts application, the action servlet must be configured and the appropriate resources must be in the Web project. Some of these resources, which are created automatically when you create a Struts-enabled Web project with this product, are as follows:
- An ApplicationResources.properties file in a subdirectory of the JavaSource directory and in a subdirectory of the WEB-INF directory
- Struts JAR files in the lib directory in the WEB-INF directory
- A Struts configuration file and Struts tag libraries in the Web content directory
- Additional entries in the .classpath file
For more information about Struts and MVC, see Struts framework and model-view-controller design pattern. For more information about Struts tools, see Struts tools for application development.
Related concepts
Struts framework and model-view-controller design pattern
Struts tools for application development
Web diagrams and the Web diagram editor
Web application overview
Related tasks
Creating well-architected Web applications using Struts
Defining application flows with the Web diagram editor
Related reference
Feedback
Preferences for Struts and Struts development tools