问题
I am not able to find the source code of struts-tiles2-1.4.0-SNAPSHOT.jar version of tiles. The jar files are present at http://people.apache.org/~pbenedict/struts-osgi/org/apache/struts/struts-tiles2/1.4.0-SNAPSHOT/ location.
回答1:
While choosing a Struts2 Tiles plugin, you must ensure it is the one designed for your version of Tiles (2
or 3
), and it is the exact version of your Struts2 JAR (2.3.16
, for example)
List for Tiles 2:
- Struts 2 Tiles 2 Plugin
List for Tiles 3:
- Struts 2 Tiles 3 Plugin
- (related : How to integrate Struts2 with Tiles 3)
- (related : Tiles 3 not Rendering List attributes)
The version 1.4.0
in your question it's not a valid Struts2 version, since Struts2 starts from 2.0.x
, it is a Struts1 version: Struts1 Tiles2 plugin (the Struts2 tag in the question was misleading).
You can find the source code here.
Please remember that Struts1 is EOL.
来源:https://stackoverflow.com/questions/22322531/source-code-fir-tiles-struts-tiles2-1-4-0-snapshot