Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Deprecated API

Contents

- Deprecated Classes
- Deprecated Fields
- Deprecated Methods

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

Deprecated Fields
org.apache.struts2.StrutsConstants.STRUTS_FREEMARKER_TEMPLATES_CACHE

Deprecated Methods
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.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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

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