• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts

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

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64994
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • 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
 
David Newton
Author
Rancher
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.
 
Samson Mlati
Ranch Hand
Posts: 41
Hibernate Java Oracle
  • 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
Rancher
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
Rancher
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic