In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces what is the difference between Struts2 and Webwork in Java. It is very detailed and has a certain reference value. Friends who are interested must finish reading it!
To some extent, Struts 2 is an upgrade of WebWork, not Struts 1, and even the official documentation of Apache's Struts 2 mentions that WebWork to Struts 2 is a smooth transition. In fact, Struts 2.0 is really just WebWork 2.3, and migrating from WebWork 2.2 to Struts 2.0 is no more troublesome than moving from WebWork 2.1 to 2.2.
In many ways, Struts 2 has only changed the name under WebWork, so developers with WebWork development experience will be able to enter the Struts 2 development field more quickly.
Here are some changes in the naming of Struts 2 and WebWork.
Corresponding tables for Struts 2 and WebWork member names:
In addition, Struts 2 also removes a few features from WebWork:
AroundInterceptor:Struts 2 no longer supports AroundInterceptor in WebWork. If you need to use AroundInterceptor in your application, you should manually import the AroundInterceptor class in WebWork yourself.
Rich text Editor tag: Struts 2 no longer supports WebWork's rich text editor, if you need to use a rich text editor in your application, you should use Dojo's rich text editor.
IoC container support: Struts 2 no longer supports built-in IoC containers, but fully supports Spring IoC containers, with Spring's IoC container as the default Object factory.
These are all the contents of this article entitled "what's the difference between Struts2 and Webwork in Java". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.