已过时的 API


目录
已过时的类
org.apache.struts2.dispatcher.ActionContextCleanUp
          Since Struts 2.1.3, use StrutsPrepareFilter and StrutsExecuteFilter to use other Servlet filters that need access to the ActionContext 
org.apache.struts2.dispatcher.FilterDispatcher
          Since Struts 2.1.3, use StrutsPrepareAndExecuteFilter instead or StrutsPrepareFilter and StrutsExecuteFilter if needing using the ActionContextCleanUp filter in addition to this one 
org.apache.struts2.dispatcher.FilterDispatcherCompatWeblogic61
          Since Struts 2.1.3 as it probably isn't used anymore 
org.apache.struts2.impl.StrutsObjectFactory
          since version 2.3.16 
 

已过时的字段
org.apache.struts2.StrutsConstants.STRUTS_FREEMARKER_TEMPLATES_CACHE
           
 

已过时的方法
org.apache.struts2.views.xslt.XSLTResult.getExcludingPattern()
          Since 2.1.1 
org.apache.struts2.views.xslt.XSLTResult.getMatchingPattern()
          Since 2.1.1 
org.apache.struts2.servlet.interceptor.ServletPrincipalProxy.getRequest()
          To obtain the HttpServletRequest in your action, use org.apache.struts2.servlet.ServletRequestAware, since this method will be dropped in future. 
org.apache.struts2.interceptor.PrincipalProxy.getRequest()
          To obtain the HttpServletRequest in your action, use org.apache.struts2.servlet.ServletRequestAware, since this method will be dropped in future. 
org.apache.struts2.components.Token.getTokenNameField()
          Templates should use $parameters from now on, not $tag. 
org.apache.struts2.util.StrutsUtil.include(Object, HttpServletRequest, HttpServletResponse)
          the request and response are stored in this util class, please use include(string) 
org.apache.struts2.components.Include.include(String, Writer, ServletRequest, HttpServletResponse)
          use Include.include(String, java.io.Writer, javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse, String) instead with correct encoding specified 
org.apache.struts2.dispatcher.Dispatcher.setConfigurationManager(ConfigurationManager)
          should be removed as is used only in tests 
org.apache.struts2.views.xslt.XSLTResult.setExcludingPattern(String)
          Since 2.1.1 
org.apache.struts2.views.xslt.XSLTResult.setLocation(String)
          Use #setStylesheetLocation(String) 
org.apache.struts2.views.xslt.XSLTResult.setMatchingPattern(String)
          Since 2.1.1 
org.apache.struts2.views.jsp.ui.TextFieldTag.setMaxLength(String)
          please use TextFieldTag.setMaxlength(java.lang.String) instead