4

I want learn it for abc.

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

John Saunders
  • 160,644
  • 26
  • 247
  • 397
user49149
  • 49
  • 1
  • 2

7 Answers7

5

Check this free book:

Also here you can find some good basic code examples.

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

Christian C. Salvadó
  • 807,428
  • 183
  • 922
  • 838
2

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;)

Winston Chen
  • 6,799
  • 12
  • 52
  • 81
1

the best abc tutorial as of now Struts 2

1

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.

kgiannakakis
  • 103,016
  • 27
  • 158
  • 194
1

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.

nasty pasty
  • 6,584
  • 7
  • 24
  • 26
1

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...

xgMz
  • 3,334
  • 2
  • 30
  • 23
0

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/

Harsh
  • 2,893
  • 29
  • 16