Stripes v1.5.7 Integration

This samples demonstrates Stripes Web framework integration through a simple phonebook Web application deployed to Liberty.

This sample can be installed onto runtime versions and later.

Installation Instructions

Online installation (requires or later):

  1. Install the sample by running the command below from the bin directory of your server installation:
    installUtility install StripesSample

Any missing features required by the server will be installed for you.

Offline installation:

  1. Download the StripesSample.jar using the download button at the top of the page and place it in the root of your server installation.
  2. Extract the sample into the Liberty installation by running the command below from the root of your server installation:
    java -jar StripesSample.jar

Any missing features required by the server will need to be installed separately.

Running The Application

  1. Start the StripesSample server by running the command 'bin/server run StripesSample' from the root of the Liberty profile installation, and confirm the application started by looking in the console output":
    CWWKZ0001I: Application PhoneBookByStripes started in XX.XX seconds.
  2. In your browser, enter the URL for the application: http://localhost:9112/PhoneBookByStripes (where port 9112 assumes the httpEndpoint provided in the sample server.xml has not been modified).
  3. In your browser, you should see a phone book shown up.


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.

Sample Structure

  • wlp
    • usr
      • servers
        • StripesSample
          • Copyright.txt
          • apps
            • StripesApp
              • WEB-INF
                • classes
                  • com
                    • ibm
                      • ws
                        • samples
                          • phonebook
                            • PhoneBookActionBean.class
                            • PhoneBookEntry.class
                • jsp
                  • layout.jsp
                  • phonebook.jsp
                  • taglibs.jsp
                • lib
                  • stripes-1.5.7.jar
                • web.xml
              • index.html
          • lafiles
            • LA_en
            • LI_en
          • readme.html
          • server.xml
      • shared
        • config
          • StripesSampleLibs.xml
        • resources
          • StripesSampleLibs
            • commons-logging-1.1.1.jar
            • standard-1.1.2.jar