Struts in Action: Building Web Applications with the Leading Java Framework
Struts solves the most common problems of web development. By basing your application on the Struts web application framework, you can reuse proven solutions and focus on what’s unique to your own case. Struts is an open-source product distributed by the Apache Software Foundation.
is a comprehensive introduction to the Struts framework. It covers initial design, data validation, database access, dynamic page assembly, localization, product configuration, and other important areas. It shows you how to use both JSP tags and Velocity templates. It carefully explains the Struts architecture and control flow, as well as how to extend framework classes.
Differences between Struts 1.1 and Struts 1.0. are pointed out and a case-study illustrates the 1.0 to 1.1 transition. The book shows you dozens of proven design techniques, patterns, and strategies, many of them not found elsewhere. By providing you with practical examples of realistic uses of Struts this book helps you learn through action.
What’s Inside
+ Struts 1.1 and 1.0
+ Jakarta Validator and Tile packages
+ Jakarta Scaffold toolkit
+ Velocity templates
+ HTTP, Java Servlets, and JSP tags
+ Dynamic web programming
+ Servlet centric application designs
+ Working with databases and data services
+ Design and development patterns
+ Tons of examples
Customer Review: Absolutely terrible for a reference book
I bought this book when I started a new job. I had used other frameworks, and wasn’t familiar with struts.
I started off reading through 1st and 2nd chapters. It seemed like there was a lot of detail on the things I already knew about (the html for the page), but it seemed to take a while for the author to get around to explaining the things that I bought the book for (the actual xml for struts config). But hey, I could always use the code examples directly, and it didn’t bother me *to* much.
After I started my job, though, I needed to be able to reference stuff, especially less common stuff, and there this book absolutely falls on it’s face. It’s often very difficult to find stuff, and when you do find stuff the description is often to vague and lacking the needed details to be helpful, or you just can’t find a reference to it.
For example, I just needed to look up how to tie a form select element (the drop down box) to a collection. So I looked in the index for “select”. Nothing – no entry at all. So I looked for “form”. Again – nothing. What struts book doesn’t have a “form” or “forms” listing?? So I look up html (you know, as in html:select). There’s no html select, but there’s an html:form. So I go to that page – it’s an extremely basic section about creating a basic form. No mention of select.
On other topics, even if you can find the section it’s so so vague it’s useless. Take the struts cancel button, for example – the book mentions it, but doesn’t describe how to use it at all. The one code example that they give is actually wrong – it’s lists javascript that struts automatically puts in (you shouldn’t type it in).
Overall I’m very, very dissapointed in this book.
Customer Review: Good introduction, but not enough
It compares Struts 1.0 and 1.1 very clearly, if you care.
I have some questions about something like how to use Exception Handler, how to use multiple message-resources… Unfortunately, I only got some concept explaination, but no more detail and code sample.
Buy Now!
