I have with me, professional jakarta struts 1.1 by james goodwill and richard hightower. Is this the best book to learn struts and to use it as reference guide, or has it, as I fear, become obsolete?
The logon example presented by Thomas Paul, works very well for struts 1.1 but does not work for 1.2.9(the latest version I had). Then I downloaded 1.1 and application started working. So my question is should it not be the case the struts binaries, be backword compatible, which they are not. So how should one go about learning struts. Please also suggest a good book for struts. I also feel there is a need to standardize struts, though I know it is an open source and improvments keep comming up.
I also want to ask, is struts very useful in production atmostphere and how much proficiency should one gain in it. While reading some of the post, I found out that Head First Struts is not being published because Struts does not warrent so much attention, so as to publish a book on it. Does it mean struts is on its way down.
I know it is a long mail, but thanks for going through it.
So my question is should it not be the case the struts binaries, be backword compatible, which they are not.
hm, assuming that you have experience in software development, i'm sure you already faced the problem that requirements change over the time. i'd consider that a normal process, i would not blame anyone for this.
take actionerrors in 1.29. they are deprecated in this version, and will be removed in the next. why? because actionmessages take the concept to the next level...
Most books written for Struts 1.1 have not issued revised editions for Struts 1.2 because not much has changed. What did not work in the example? Have you checked the publisher's or author's web site for errata/updates?
Struts was a giant step forward from just using JSPs and Servlets, but today there are a number of competing web frameworks. The Struts 1.x code base will likely be phased out in favor of WebWork rebranded as "Struts 2.0".
The main area where the books steer you wrong on newer versions of Struts is the <html:form> tag. They tell you to use a name and type attribute. For later versions of Struts, the only attribute you need to provide is action. After making this minor modification, all the examples provided by most of the Struts books should work just fine.