Take the 2-minute tour ×

I want learn it for abc.

And I'd like to know what's the difference between struts 1 and struts 2.

share|improve this question

7 Answers 7

Check this free book:

Also here you can find some good basic code examples.

For a Struts 1 vs. Struts 2 comparative, check this.

share|improve this answer

Personal opinion. Jakarta Struts For Dummies is really a piece of art from newbies.

It makes the shifting from jsp/servlet to struts so easy;)

share|improve this answer

I haven't read the specific book, but I generally have good experience with Manning books, so I would recommend Struts 2 in Action.

Also, I would generally recommend to start directly from Struts 2 as it has some adantages over the 1.x versions. However, if you are using Eclipse, I am not aware of any plug-ins for Struts 2. This could be a problem for a new user. For Netbeans there is this, but I haven't used it myself. For Struts 1.x there are mature plug-ins both for Eclipse and Netbeans.

share|improve this answer

I recommend struts 2 also.

The book Struts 2 in Action I also recommend.

The Struts 2 Apache web site has a great reference and lots of tutorials, once you start moving away from the book. Use that site, and avoid RoseIndia if you can.

share|improve this answer

I've had a bit of experience with Struts1 and Struts2. First off, Struts1 and 2 are different because Struts2 is not a direct evolution of Struts1 but rather it comes from another framework called WebWork. There are still a few similarities around the MVC pattern (Action classes, etc.). The validation and configuration XML files change. Struts2 uses the Dojo toolkit for many of it's JavaScript functionality. IMHO Struts2 has more features and improvements over Struts1, although it's probably not so widely spread in use as Struts1 is, at least not yet...

share|improve this answer

I personally recommend struts in action and as well if u like to learn online these can be a good refference http://www.mkyong.com/tutorials/struts-tutorials/

share|improve this answer

the best abc tutorial as of now Struts 2

share|improve this answer

Your Answer


