I am little bit confused to choose Struts 1 or Struts 2 for my new web application development assignment. Could any one suggest me which framework should I use for development from architecture point of view? What are the points I should take care of to choose the struts version before I go for development of the application? Any help will be appreciated.
相关问题
- Java/Struts2: How to get action name from current
- NPE in StrutsTestCase after enabling Tiles
- In Tiles,Struts2 java.lang.NoClassDefFoundError: o
- Validating double field in struts 2
- How to use multiple forms / actions in a single vi
相关文章
- Struts2 file upload max size
- Current URL /web/guest/HTML generates exception: n
- UrlRewrite Struts2 setting parameter variables
- How to Set a HashMap from jsp to Action
- Struts 2 jQuery plugin isSubscribe not working
- How to set the values in session?
- Null values are insering in data base using Struts
- Why do we use struts tags and not the old HTML tag
I've had a similar dilemma as you do, but instead of going with Struts, I've chosen Tapestry after some consideration.
Some of its awesome features are
Hi I prefer struts 2 because,
Struts 1.x
Struts 2.X
I also prefer going with Struts2 itself rather than Struts1 because Struts1 is old and its EOL has been announced on September 1, 2013 with the message "the Struts 1.x web framework has reached its end of life and is no longer officially supported." [Source:- wikipedia.org]
So it is better to go with Struts2[i have been using version:-2.3.1.1 as I faced some "Dispatcher error"(jar files in the package were not compatible with each other) issue while using 2.3.16 version]
Hope this might help.
Since you have mentioned that it is going to be a new web-application,Just go with Struts2.Struts1 has already in EOL which means there will be no loner support for the Struts1.
Also Struts2 is a new and very flexible framework and will provide you a lot more control.Here are
Hope this might help you.Additionally You can review and look in to other MVC framework also