Learning Jakarta Struts 1.2 and over 2 million other books are available for Amazon Kindle . Learn more
£21.99
FREE Delivery in the UK.
In stock.
Dispatched from and sold by Amazon.
Gift-wrap available.
Quantity:1
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Learning Jakarta Struts 1.2: a concise and practical tutorial Paperback – 5 Aug 2005


See all 2 formats and editions Hide other formats and editions
Amazon Price New from Used from
Kindle Edition
"Please retry"
Paperback
"Please retry"
£21.99
£19.18 £1.23

Trade In Promotion



Product details

  • Paperback: 220 pages
  • Publisher: Packt Publishing (5 Aug. 2005)
  • Language: English
  • ISBN-10: 190481154X
  • ISBN-13: 978-1904811541
  • Product Dimensions: 19.1 x 1.2 x 23.5 cm
  • Average Customer Review: 1.0 out of 5 stars  See all reviews (2 customer reviews)
  • Amazon Bestsellers Rank: 4,555,480 in Books (See Top 100 in Books)

Product Description

About the Author

Stephan Wiesner was born in October 1973 in L¿neburg, Germany. He graduated in business informatics in 2003. He got introduced to Struts during his studies. He didn't understand the official documentation for Struts and therefore started to develop his own documentation. Feedback from all over the world encouraged him and finally he published it as a book. He currently lives and works in Lucerne, Switzerland, as a QS consultant and test manager.

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Customer Reviews

1.0 out of 5 stars
5 star
0
4 star
0
3 star
0
2 star
0
1 star
2
See both customer reviews
Share your thoughts with other customers

Most Helpful Customer Reviews

3 of 3 people found the following review helpful By Dr. M. Naaseri on 4 Aug. 2006
Format: Paperback
Though I have a good knowledge of Java, JSP, Servlets, ..., I do not know anything about struts. So, I bought this book for the claims it makes, i.e. a coincise and practical tutorial. I did spend quite sometime to try to understand it. Only the first example worked (Shop1). The second example failed and I got stuck. No matter how much time I spent it just did not work. I downloaded the example codes and they did not work either. I tried to reach the author and publisher, but I failed to get any reply from either of them.

Simply, waste of time and money.
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
Format: Paperback
When I came across the first errors in the program listings in the book I thought it was some clever way to teach me struts by making my hunt down bugs. I'm from a programming background so I thought fair enough. However the book is littered with bugs and errors in the listings and it gets a bit tedious trying to sort them out. The other issue is that the author explains something once, then vaguely refers to it again later expecting you to understand his vague directions, thankfully I know some Struts developers who point me in the right direction, otherwise I'd be stuck. All in all not a good introduction to the world of Struts. Give me ASP.NET any day if Struts really is this difficult.
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 Helpful Customer Reviews on Amazon.com (beta)

Amazon.com: 6 reviews
7 of 8 people found the following review helpful
Defeats its own goals 25 April 2006
By Neil Roberts - Published on Amazon.com
Format: Paperback Verified Purchase
The author goes in to some detail about the philosophy of the book, how he intends to present it as a "action" oriented book, rather than a list of instructions. That's fine, but the actions that he presents are terrible.

I bought this book mostly to see what's changed since Struts 1, which is what I'm familiar with. I'm somewhat familiar with Struts 1.1, I've messed with DynaActionForm and some of the new validation features. So I know what Struts is capable of... and it's not this.

Struts is an excellent controller (the C in MVC), and it has a lot of really handy tags that you can use in your JSP pages. Where the author completely misses the mark is that he concentrates so heavily on the tags and very little on what makes Struts really powerful... its controller. That's not to say that he only concentrates on tags, he goes into great detail about integrating a database, writing a properties singleton, and other garbage that has nothing to do with struts.

He frequently uses a jsp page as the URL to visit to access a page. A good Struts implementation should rely COMPLETELY on Struts as its controller. This means that all of his pages should have been *.do pages. Not only does this allow for pre-render logic, but it means that you can switch out what JSP page you want to use without having to change your URL. It's pretty much the foundation of struts, and yet it's completely lost here.

Another thing I found missing was action-specific forwards. His action tags were almost all single, closed <action/> tags with no content in between. He opted instead to use global forwards for everything.

I'm not a genius, I obviously have something to learn about Struts if I'm still buying books. But Struts is about making things clean, abstracting the Model 1 grossness that JSPs introduced. This book is a piecemeal organization of some capabilities of Struts. Not only is this book lacking on any high-level struts capabilities, but I think it actually teaches bad programming.
6 of 7 people found the following review helpful
Does well to get you quickly coding in Struts... 24 Sept. 2005
By Thomas Duff - Published on Amazon.com
Format: Paperback
If you already have a Java background and are looking to learn how to use Struts for web apps, a good concise tutorial title would be Learning Jakarta Struts 1.2 by Stephan Wiesner.

Contents: Introduction to Struts; Hello Struts; The Struts Shop; Internationalization and Taglibs; Logging and Configuration; Forms; Logic; Exceptions; Controller and Templates; Putting It All Together; Struts Validator and Plug-In Classes; JSTL; Tools and Tricks; Solutions; Glossary; Literature; Index

This is a 200 page tutorial that assumes a basic background in your IDE of choice and Java in general. It's written well, but there's not a lot of hand-holding going on. The author dives right in and brings you up to speed on the concepts you need to know to work with Struts. The associated platform choices are all open source (like Tomcat and MySQL), so it won't cost you anything to get started. Conversely, the coverage of these other software packages aren't covered in great detail. You're told where you can download the software, and quickly how to install it. If you have problems, you'll probably need to check out other sources to fix them. The book follows a common development project throughout (a book store application), so it does a nice job of building on itself as it goes along. Couple that with the exercises sprinkled throughout the book, and you should be able to learn enough to become competent on the basics. For long-term Struts work, you'll probably want to get a Struts reference book or check out the project website. Still, as a first book to learn by doing, Learning Jakarta Struts fairs well...
6 of 7 people found the following review helpful
Making Learning Struts Easy 28 Nov. 2005
By Srihari Mailvaganam - Published on Amazon.com
Format: Paperback
Jakarta Struts is a framework that helps in developing and maintaining web applications. Struts really shows its potential with larger web applications when multiple developers, UI artists, content specialists are working on an application.

And maintaining a Struts application is a breeze in comparison to JSP/Servlet configuration. The challenge with Sturts is the complexity in understanding the framework - the framework itself is not terribly complex but it makes it seem like a tedious way to develop a web application. Many developers start off learning Struts with a 'Hello World' example and are not terrible impressed by what they have to do to get it going.

Mr. Wiesner's book makes learning Struts much easier - as the benefits are given in examples upfront. Most readers loose interest if the benefits are not demonstrated and that is a great lost to the Struts framework.

This book is suitable for a reader who is familiar with Java/Tomcat and would like a great introduction to Struts. The examples lead a reader through setting up a Java web application and tips on enhancing productivity with Struts.

Please let me know if you have any questions or suggestions regarding the review.
Too Concise to Be Practical 10 Dec. 2007
By D. Siegal - Published on Amazon.com
Format: Paperback
I needed to get up to speed on Struts quickly. So when I saw this "concise and practical tutorial", I thought, Perfect. I'll read this to get a basic understanding, do the exercises to reinforce it, and if and when I need more background, theory, or detailed knowledge, I can eventually turn to one of the larger works.

Maybe it's just not possible to adequately cover Struts in such a short space. Or maybe the author just didn't do a very good job. I think it's probably a combination of the two. But in any case, this book just fails to deliver.

To begin with, let me how explain how concise "concise" is. Subtract out the intro, appendices, index, etc. and the book boils down to about 155 pages of content. About half of that is taken up by source code and configuration file samples plus screen shots of browser windows and other images. Another 15 pages are used to describe how to set up Tomcat and MySQL, plus the requirements and database schema for the sample online bookstore. Normally, all this is very welcome. The problem is, this leaves us with only about 60 pages of explanation of Struts itself, in a rather large typeset at that.

It's simply not enough, and the author seems to know it. In many cases, he refers the reader to outside sources for explanation. In a few case, those sources are discussion forum entries dating back to 2002 and 2003! (The book is copyrighted 2005). But even when the book provides explanations, they're often so brief and concise, that I often had to turn to the Strut's online user guide or other sources just to try and figure out what was going on.

To its credit, the book does cover the subjects of Internationalization and Logging early and with *relative* thoroughness. These are 2 features that developers can too easily postpone, and Wiesner's emphasis on designing with these in mind from the start is good advice. But again, it leaves you scratching your head why he puts relatively so little into explaining more core concepts, like the chain of events in a request, how to make non-trivial forms (e.g. with checkboxes or list boxes), proper separation of model and controller, what the RequestProcessor is and how to use it, etc.

I think this could have been a good book. The authors write well enough, but just not enough. Note: this book is translated from the German, which apparently is 264 pages, so maybe that's a better read.

Finally, although the book is entitled "Learning Jakarta Struts 1.2", I see no evidence of any 1.2 features in it. Even the 1.1 features are mostly just addressed at the end, suggesting he initially wrote the book with 1.0 in mind. The version number is not in the German title; it's probably fair to conclude that Packt Publishing put it into the title as a (deceptive) marketing ploy.

Bottom line: pass on this one and find something more thorough.
4 of 6 people found the following review helpful
A welcome introductory book to Struts 30 Oct. 2005
By Andrew Monkhouse - Published on Amazon.com
Format: Paperback
I enjoyed this book, both Mr. Wiesner’s style of writing, and the way topics were introduced. The chapters are easy to read, and I never felt I was being lectured to. In addition, Mr. Wiesner has kept information relevant to the topic at hand without digressing into background information that might confuse newcomers. From as early as the second chapter you are developing in Struts, using a simple internationalization example. The chapters gradually build up from there, each one introducing new concepts in easy to read sections. By the end of the book, you will have created a simple bookstore application.

Mr. Wiesner assumes knowledge of Java, JSP, and Servlets, and expects you to have set up your JDK, Web Container, and Database before beginning. With this rudimentary knowledge, his introduction to Struts makes sense and examples are given demonstrating the differences between calling standard Java code from within a JSP and using the Struts equivalents.

My only complaints with this book are that the downloadable source code has not been converted into English (while the source code in the book has been) - this does not cause a major problem since the downloadable code is still very readable, but it does mean that the downloadable code does not exactly match the published code. Another issue is that the errata page does not appear to be regularly updated.

All in all, a very good book, and a welcome introductory book to Struts.
Were these reviews helpful? Let us know


Feedback