• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Struts

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What advantage is there to use Struts 2 over Struts 1.2? Which one should be used.

 
Marshal
Posts: 67447
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 41
Hibernate Oracle Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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?
 
Karan Johar
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Struts 2 home page has a laundry list of reasons why Struts 2 is nice--what other kind of information do you want?
 
Live a little! The night is young! And we have umbrellas in our drinks! This umbrella has a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic