wood burning stoves 2.0*
The moose likes Struts and the fly likes Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts" Watch "Struts" New topic
Author

Struts

Karan Johar
Greenhorn

Joined: Oct 02, 2009
Posts: 25
What advantage is there to use Struts 2 over Struts 1.2? Which one should be used.

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61221
    
  66

Please be sure to take the time to compose descriptive subjects for your posts; read this for more information.

Using a title of "Struts" in a forum completely dedicated to questions on Struts isn't very helpful. What if everyone named their post "Struts"?

Please go back and change your post to add a more meaningful subject by clicking the


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Which "should" be used? That depends on many factors, most of which aren't technical.

On the technical side, Struts 2 wins hands-down--perhaps looking at some of the Struts 2 documentation would give you a laundry list of reasons why it's easier to develop under Struts 2 than Struts 1.
Samson Mlati
Ranch Hand

Joined: Feb 23, 2009
Posts: 41

David Newton wrote:Which "should" be used? That depends on many factors, most of which aren't technical.

On the technical side, Struts 2 wins hands-down--perhaps looking at some of the Struts 2 documentation would give you a laundry list of reasons why it's easier to develop under Struts 2 than Struts 1.


I actually asked myself the same question earlier this week when starting a new project. I have used struts 1.2.9 and chose to continue to use it since its already integrated into my netbeans (v 6.0). Saves me a lot of trouble setting up ANT etc... Is struts 2 integrated into some netbeans version too?


Best,
Mlati
Karan Johar
Greenhorn

Joined: Oct 02, 2009
Posts: 25
Samson, thankyou for your reply about using 1.2; but david newton says that
On the technical side, Struts 2 wins hands-down


how to proceed, what was your experience
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

I don't know what you mean by "integrated in", and I'm not overly familiar with NetBeans. Even without integration, Struts 2 is so much cleaner than Struts 1 that there's just no contest for modern development, no contest at all. The thought of using Struts 1 again, considering all the great alternatives out there, is to painful to contemplate. Struts 1 was good for its time, but development methodologies have moved on.
Karan Johar
Greenhorn

Joined: Oct 02, 2009
Posts: 25
Struts 2 is so much cleaner than Struts 1


but how to tell that, everyone is having different information. even struts website is not taking any particular side except that struts 2 has more support for future.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

The Struts 2 home page has a laundry list of reasons why Struts 2 is nice--what other kind of information do you want?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts