http://blog.csdn.net/ocean1010/article/details/6160159
ServletContext from his package information, it is the standard Java EE WebApplication class Library
ServletContext provides a standard servlet runtime environment, which is actually a way for some servlets and web container to communicate
Actioncontext originates from the Struts2 and Struts1 of the nature of the different.
Struts1, all *.do are handled by a servlet (servlet org.apache.struts.action.ActionServlet)
STRUTS2, all requests are processed by a filter (Org.apache.struts2.dispatcher.FilterDispatcher)
Struts1 still belongs to the servlet category, and Struts1 action is still the servlet.
Struts2 action is already an ordinary Java bean and has jumped out of the servlet framework
Actioncontext is to make up for the flaw in the Web environment caused by STRTUS2 action jumping out of the standard servlet framework
Actioncontext's main role: to provide a Web environment context to address thread safety issues to solve some of the compatibility issues with other frameworks or containers (sitemesh,weblogic) Servletactioncontext In fact, Actioncontext's sub-class, its function is derived from the Actioncontext, the Actioncontext method has made a certain packaging, providing a more convenient and intuitive method