• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What advantage is there to use Struts 2 over Struts 1.2? Which one should be used.

 
Sheriff
Posts: 67749
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic