Several tutorials are available to help you get started with the framework, from all-purpose "soup to nuts" tutorials to specialty tutorials on portlets and database access.




Several example applications are bundled with the framework, as ready-to-deploy WARs.


An "empty" application that you can use as the starting point for your own projects.


A simple application that demonstrates best practices.


An application demonstrating portlet support


A sampling of common (and not so common) use cases.

Other Examples

Simple examples and links to "powered by" sites

For the complete source code to the applications, see the source code distribution.


To suggest a change or a correction to any part of the documentation, log in and leave a comment on the appropriate page. We are always looking for help with the documentation!

Next: Guides


  1. Hi

    In examples section Portlet example which is pointing to

    is throwing a blank page. It would be great if someone could post a struts 2 sample portal app it would be of great use to learners.

    Thanks for all your support.

    1. Fixed url - thanks for letting us know.

      As for a struts portal app: I believe there's one in the showcase, and if not, a search should help you out.

  2. Hello,

    As of May 29 2008, the MailReader link is broken (404 error).

    Thank you for this documentation.

  3. All the example links go to a domain squatter site. Have these examples been moved somewhere else?

    1. Removed the old links, thanks. I've posted a question on the dev mailing list to see if they are available somewhere. I'll update the page as soon as I know more.

      1. The links to are still active on the wiki site (the main wiki?).
        And after searching for a few hours for examples (like blank, mailreader. showcase, etc) can be downloaded in the "Example Applications" zip file located at

  4. Hi..
    Please provide the documentation link for "Showcase A sampling of common (and not so common) use cases." It will be great help if we get any documnetation on that war.
    Thanks & Regards

  5. I've created a primer tutorial that we've been using at work and a few people have found it worthwhile, would you consider adding it to the links in the 'primers' section?
    It's here:


    1. Added - thanks Chris. Looks very good.

      1. Anonymous

        Cheers, you're welcome. Thanks for the kind words. I only hope someone learns something from it.

  6. Anonymous

    struts+spring+hibernate+ajax tutorial doesn't work properly.It gives error while using "theme="ajax" and debug="true". And other <s:a> and <s:div> tags are also not working.