File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Should I learn Struts 1.X  or  Struts 2.X? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Should I learn Struts 1.X  or  Struts 2.X?" Watch "Should I learn Struts 1.X  or  Struts 2.X?" New topic

Should I learn Struts 1.X or Struts 2.X?

Chrix Wu
Ranch Hand

Joined: Nov 15, 2009
Posts: 121
Hi folks,

I am going to learn Struts.

But wondering which Struts version is better?

Is version 2 definitely better than version 1? is it worth spending time with struts 1?

** SCJP 5.0 84% **
** SCWCD 1.5 76% **
David Newton

Joined: Sep 29, 2008
Posts: 12617

Depends. If you can avoid Struts 1, I would--but a lot of companies have Struts 1 apps (and, puzzlingly, create new Struts 1 apps). Struts 2 is far, far cleaner, but also used much less--there are so many other options now that it's not as much of a "no-brainer" to go with Struts like it was once.
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32818

Did you know we have a forum dedicated to Struts? I'll move this for you.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
It is sorta covered in the JavaRanch Style Guide.
subject: Should I learn Struts 1.X or Struts 2.X?
It's not a secret anymore!