Deprecated API


Contents
Deprecated Interfaces
org.apache.struts2.views.TagLibrary
          use two other interfaces: TagLibraryDirectiveProvider, TagLibraryModelProvider 
 

Deprecated Classes
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 
 

Deprecated Fields
org.apache.struts2.StrutsConstants.STRUTS_FREEMARKER_TEMPLATES_CACHE
           
 

Deprecated Methods
org.apache.struts2.dispatcher.Dispatcher.createContextMap(HttpServletRequest, HttpServletResponse, ActionMapping, ServletContext)
          use version without servletContext param 
org.apache.struts2.dispatcher.Dispatcher.createContextMap(Map, Map, Map, Map, HttpServletRequest, HttpServletResponse, ServletContext)
          use version without ServletContext param 
org.apache.struts2.dispatcher.mapper.DefaultActionMapper.dropExtension(String)
          Since 2.1, use DefaultActionMapper.dropExtension(java.lang.String, org.apache.struts2.dispatcher.mapper.ActionMapping) instead 
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.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.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.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.sendError(HttpServletRequest, HttpServletResponse, ServletContext, int, Exception)
          remove in version 3.0 - use version without ServletContext parameter 
org.apache.struts2.dispatcher.Dispatcher.serviceAction(HttpServletRequest, HttpServletResponse, ServletContext, ActionMapping)
          use version without ServletContext param 
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 
org.apache.struts2.dispatcher.Dispatcher.wrapRequest(HttpServletRequest, ServletContext)
          use version without ServletContext param 
 

Deprecated Constructors
org.apache.struts2.dispatcher.ng.ExecuteOperations(ServletContext, Dispatcher)
           
org.apache.struts2.dispatcher.ng.PrepareOperations(ServletContext, Dispatcher)
           
 



Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.