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 184.108.40.206 and later.
Online installation (requires 220.127.116.11 or later):
installUtility install Struts2Sample
Any missing features required by the server will be installed for you.
Struts2Sample.jarusing the download button at the top of the page and place it in the root of your server installation.
java -jar Struts2Sample.jar
Any missing features required by the server will need to be installed separately.
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.