What Is Struts Plugin?
Struts plugins are JAR files that contain classes and configurations that extend the functionality of the Struts framework. Struts plugins are installed to an application by adding a JAR file that contains a struts-plugin.xml file.
-
Struts-Plugin.xml File
-
This file has the ability to override framework constants, introduce new implementation classes and define new packages that have interceptors and actions.
Functions
-
Struts plugins are used to distribute framework features, organize application code and also to distribute code to third-party applications.
-
Plugin Associations
-
When loading plugins, no particular order is required. They also should not have any dependencies to each other nor should they have dependencies on classes associated or loaded by a different plugin.
Contributed Plugins
-
Since the Apache Struts is a simple architecture, developers are free to develop and extend its capabilities using plugins. The fact that these plugins are contained in JAR files makes them easy to distribute online.
-
References
Resources
- Photo Credit internet image by Attila Toro from Fotolia.com