Programming Books C Java PHP Python Learn more Browse Programming Books
Buy New
  • List Price: $44.99
  • Save: $15.42 (34%)
FREE Shipping on orders over $35.
Only 5 left in stock (more on the way).
Ships from and sold by
Gift-wrap available.
Trade in your item
Get a $2.00
Gift Card.
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

Struts 2 in Action Paperback – May 1, 2008

ISBN-13: 978-1933988078 ISBN-10: 193398807X Edition: 1st

Buy New
Price: $29.57
37 New from $19.00 28 Used from $11.33
Amazon Price New from Used from
"Please retry"
$19.00 $11.33

Frequently Bought Together

Struts 2 in Action + Java Persistence with Hibernate + Spring in Action
Price for all three: $100.70

Buy the selected items together


Shop the new
New! Introducing the, a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Product Details

  • Paperback: 432 pages
  • Publisher: Manning Publications; 1 edition (May 1, 2008)
  • Language: English
  • ISBN-10: 193398807X
  • ISBN-13: 978-1933988078
  • Product Dimensions: 9.2 x 7.4 x 0.9 inches
  • Shipping Weight: 1.2 pounds (View shipping rates and policies)
  • Average Customer Review: 3.7 out of 5 stars  See all reviews (29 customer reviews)
  • Amazon Best Sellers Rank: #539,043 in Books (See Top 100 in Books)

Editorial Reviews

About the Author

Don Brown is the Technical Lead for Hosted Services at Atlassian Software Systems, with a background in the commercial and US Department of Defense sectors. He is a member of the Apache Software Foundation, and has been a Struts committer since 2003. He is also a committer on several Apache Commons projects and a frequent speaker at JavaOne, ApacheCon, and Java user groups.

More About the Authors

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

Simply great book, which I strongly recommend.
L. Sembera
This book has a lot of words and pages but simply does not have enough "meat" to it.
Computer Guru
I thought the book was very readable and fairly well written.
Lund Wolfe

Most Helpful Customer Reviews

23 of 25 people found the following review helpful By Bruce Phillips on June 11, 2008
Format: Paperback Verified Purchase
I had to learn Struts2 quickly since I recently changed jobs and my new team has several web application projects built using Struts2.

Overall, I thought the book was done very well if you are looking for a good introduction to Struts2. The first 8 chapters are very good.

The main negative is the source code for the book's examples. The authors provide one very large war file with all the source code embedded into the war file along with an overall web application divided into sub-applications for each chapter.

This packaging of the source code into the war file made it difficult for me to create individual projects in my development IDE that demonstrated just the material in a specific chapter. I had to spend quite a bit of time breaking down the source code into individual web projects and then figuring out on my own what jars needed to go into each project, what the struts.xml file needed to have, and what ever else was necessary to separate out just that chapter's sub-application so I could run that example and play with it.

Where this really became a problem was in chapters 9 and 10. Chapter 9 is a very advanced introduction to integrating Spring and Hibernate/JPA into Struts2. I never could get this chapter's example to work correctly.

However, chapter 10 on the validation framework then uses the same code as chapter 9, so you really cannot separate out the code for either chapter 9 and 10.

The validation framework is likely something even beginning Struts2 developers will want to use, while Spring/JPA/Hibernate is for more advanced developers and should have been well after the chapter on how to use the validation framework.
Read more ›
2 Comments Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
11 of 12 people found the following review helpful By Amazon Customer on May 16, 2008
Format: Paperback Verified Purchase
I took a chance and pre-ordered this book because I have recently started a Struts2 project and wanted to learn more about the framework. The book did not disappoint.

The authors explained the concepts behind the framework clearly and used examples that were immediately useful. The book is a little too short and in many cases a few more details would have been appreciated but it seemed to be a deliberate decision to leave out some of the less common use cases to avoid cluttering up the book. Thus, this book is ideal if you are new to Struts 2 but have some prior experience with Java web development.

I like the fact that an entire chapter was dedicated to integrating Spring and Hibernate into the framework. It brings all the bits and pieces from the online documentation together in a cohesive and comprehensive package.

Chapters were also dedicated to validation, internationalization, best practices and migration from Struts classic. The authors spent several chapters on how the Value Stack and the ActionContext worked and how OGNL fits into this framework.

All in all there is enough information in this book to start and to produce a complete Struts 2 application.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
9 of 10 people found the following review helpful By The Commodore on June 11, 2010
Format: Paperback Verified Purchase
First, this book is outdated already. It covers Struts 2.0, and if you use 2.1 (which you should) you will have problems. This is particularly acute because 2.1 uses a lot of newer convention-based mapping to actions, and a lot of the techniques described in the book are now deprecated.

However, this biggest problem with the book is that it's a ponderous read. The author spends countless pages discussing the minutiae of OGNL and type converters ... way more than a beginner needs to know. However, more critical topics like the Struts2 JSP tags are barely covered until Chapter 6. Other important topics like session management are barely covered at all. This book needs a lot of editing and reorganization before it will be useful for most beginners.

Nevertheless, there is some useful information here for those with the patience to dig for it. I thought the discussion of interceptors was very solid. However, much of this doesn't justify the price of the book. I recommend just downloading the Starting Struts 2 docs from the Apache Struts2 website, and working through it. You'll learn a lot quicker through their "bootstrap" tutorial than you will here.
1 Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
5 of 5 people found the following review helpful By lunchbeast on September 27, 2010
Format: Paperback Verified Purchase
I agree with many of the comments about this being kind of a long winded book, but that's far from it's biggest failing. In spite of what feels like a barrage of numbing verbage at times, the authors still manage to leave out what I consider to be key info for a text like this. A little better editing and a little more economy of language would have a allowed missed points to be covered without expanding the book.

A good example of this in chapter two, where the authors totally whiff on container setup, which is absolutely critical to continue with the book. They spend nearly an entire page explaining that you need a servlet container, but that they're not going to help you with that because "the benefits gained from learning to install a servlet container far outway any short-term gains to be had from any container-specific quick start we might try to provide."

Bull****. The last thing anybody should have to do while they're trying to get through this book is take a detour to figure the whole servlet container thing. This is not a trivial task to wander off and learn on your own with absolutely no guidance. It can be done, but it's not fast or easy and like I said, it's not a detour you want to have to take just to able to get through the book. If I didn't already know how to set up a servlet container, I would have sent the book back for a refund, and I bet this is a major reason for countless readers never finishing it. There are dozens of tutorials, guides, and FAQs on the web that document exactly how to do this in very nearly the same amount of space the authors used for their excuse for not helping. If they really don't want to provide instructions themselves (whether out of ingorance or apathy), they could just point to one of these websites.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews

What Other Items Do Customers Buy After Viewing This Item?