This samples demonstrates Struts 2 Web framework integration through a simple phonebook Web application deployed to Liberty.
The samples uses Struts 2.x as the model-view-control framework for presentation logic and Spring as the IoC container to inject a bean into a Struts 2 action.
This sample can be installed onto runtime versions 8.5.5.0 and later.
CWWKZ0001I: Application PhoneBookByStruts2 started in XX.XX seconds.
This sample does not include the open source dependencies. The installer will provide a list of the open source pre-requisite libraries and where they can be downloaded from. To help obtaining these libraries, the installer provides the option to download them on your behalf.
The table below shows the dependencies that are required for: Struts 2.x sample shared libraries..
Target install path | Source URL |
---|---|
shared/resources/Struts2SampleLibs/spring-beans-3.0.5.RELEASE.jar | http://search.maven.org/remotecontent?filepath=org/springframework/spring-beans/3.0.5.RELEASE/spring-beans-3.0.5.RELEASE.jar |
shared/resources/Struts2SampleLibs/spring-core-3.0.5.RELEASE.jar | http://search.maven.org/remotecontent?filepath=org/springframework/spring-core/3.0.5.RELEASE/spring-core-3.0.5.RELEASE.jar |
shared/resources/Struts2SampleLibs/spring-aop-3.0.5.RELEASE.jar | http://search.maven.org/remotecontent?filepath=org/springframework/spring-aop/3.0.5.RELEASE/spring-aop-3.0.5.RELEASE.jar |
shared/resources/Struts2SampleLibs/spring-web-3.0.5.RELEASE.jar | http://search.maven.org/remotecontent?filepath=org/springframework/spring-web/3.0.5.RELEASE/spring-web-3.0.5.RELEASE.jar |
shared/resources/Struts2SampleLibs/spring-context-3.0.5.RELEASE.jar | http://search.maven.org/remotecontent?filepath=org/springframework/spring-context/3.0.5.RELEASE/spring-context-3.0.5.RELEASE.jar |
shared/resources/Struts2SampleLibs/spring-asm-3.0.5.RELEASE.jar | http://search.maven.org/remotecontent?filepath=org/springframework/spring-asm/3.0.5.RELEASE/spring-asm-3.0.5.RELEASE.jar |
shared/resources/Struts2SampleLibs/spring-expression-3.0.5.RELEASE.jar | http://search.maven.org/remotecontent?filepath=org/springframework/spring-expression/3.0.5.RELEASE/spring-expression-3.0.5.RELEASE.jar |
shared/resources/Struts2SampleLibs/commons-logging-1.1.1.jar | http://search.maven.org/remotecontent?filepath=commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar |
shared/resources/Struts2SampleLibs/aopalliance-1.0.jar | http://search.maven.org/remotecontent?filepath=aopalliance/aopalliance/1.0/aopalliance-1.0.jar |
shared/resources/Struts2SampleLibs/struts2-core-2.3.8.jar | http://search.maven.org/remotecontent?filepath=org/apache/struts/struts2-core/2.3.8/struts2-core-2.3.8.jar |
shared/resources/Struts2SampleLibs/xwork-core-2.3.8.jar | http://search.maven.org/remotecontent?filepath=org/apache/struts/xwork/xwork-core/2.3.8/xwork-core-2.3.8.jar |
shared/resources/Struts2SampleLibs/asm-3.3.jar | http://search.maven.org/remotecontent?filepath=asm/asm/3.3/asm-3.3.jar |
shared/resources/Struts2SampleLibs/asm-commons-3.3.jar | http://search.maven.org/remotecontent?filepath=asm/asm-commons/3.3/asm-commons-3.3.jar |
shared/resources/Struts2SampleLibs/asm-tree-3.3.jar | http://search.maven.org/remotecontent?filepath=asm/asm-tree/3.3/asm-tree-3.3.jar |
shared/resources/Struts2SampleLibs/freemarker-2.3.19.jar | http://search.maven.org/remotecontent?filepath=org/freemarker/freemarker/2.3.19/freemarker-2.3.19.jar |
shared/resources/Struts2SampleLibs/ognl-3.0.6.jar | http://search.maven.org/remotecontent?filepath=ognl/ognl/3.0.6/ognl-3.0.6.jar |
shared/resources/Struts2SampleLibs/javassist-3.11.0.GA.jar | http://search.maven.org/remotecontent?filepath=javassist/javassist/3.11.0.GA/javassist-3.11.0.GA.jar |
shared/resources/Struts2SampleLibs/commons-fileupload-1.2.2.jar | http://search.maven.org/remotecontent?filepath=commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2.jar |
shared/resources/Struts2SampleLibs/commons-io-2.0.1.jar | http://search.maven.org/remotecontent?filepath=commons-io/commons-io/2.0.1/commons-io-2.0.1.jar |
shared/resources/Struts2SampleLibs/struts2-api-2.0.5.jar | http://search.maven.org/remotecontent?filepath=org/apache/struts/struts2-api/2.0.5/struts2-api-2.0.5.jar |
shared/resources/Struts2SampleLibs/struts2-spring-plugin-2.3.8.jar | http://search.maven.org/remotecontent?filepath=org/apache/struts/struts2-spring-plugin/2.3.8/struts2-spring-plugin-2.3.8.jar |
shared/resources/Struts2SampleLibs/commons-lang3-3.1.jar | http://search.maven.org/remotecontent?filepath=org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar |
For further information and resources for developers using IBM WebSphere Application Server, please visit wasdev.net.