Apache Struts API Documentation: Deprecated List

Apache Struts API


Deprecated API

Deprecated Classes
org.apache.struts.action.ActionError           Please use ActionMessage instead, deprecated since 1.2.0. 
org.apache.struts.taglib.tiles.AttributeToScopeTag
          Is it still in use ? 
org.apache.struts.upload.BufferedMultipartInputStream
          Use the Commons FileUpload based multipart handler instead. This class will be removed after Struts 1.2. 
org.apache.struts.tiles.DefinitionsUtil
          Use TilesUtil.createDefinitionsFactory(ServletContext, DefinitionsFactoryConfig) 
org.apache.struts.upload.DiskFile
          Use the Commons FileUpload based multipart handler instead. This class will be removed after Struts 1.2. 
org.apache.struts.upload.DiskMultipartRequestHandler
          Use the Commons FileUpload based multipart handler instead. This class will be removed after Struts 1.2. 
org.apache.struts.upload.MultipartBoundaryInputStream
          Use the Commons FileUpload based multipart handler instead. This class will be removed after Struts 1.2. 
org.apache.struts.upload.MultipartElement
          Use the Commons FileUpload based multipart handler instead. This class will be removed after Struts 1.2. 
org.apache.struts.upload.MultipartIterator
          Use the Commons FileUpload based multipart handler instead. This class will be removed after Struts 1.2. 
org.apache.struts.upload.MultipartValueStream
          Use the Commons FileUpload based multipart handler instead. This class will be removed after Struts 1.2. 
 

Deprecated Interfaces
org.apache.struts.tiles.ComponentDefinitionsFactory
          Use DefinitionsFactory instead. 
 

Deprecated Exceptions
org.apache.struts.upload.ContentLengthExceededException
          Use the Commons FileUpload based multipart handler instead. This class will be removed after Struts 1.2. 
org.apache.struts.upload.MaxLengthExceededException
          Use the Commons FileUpload based multipart handler instead. This class will be removed after Struts 1.2. 
 

Deprecated Fields
org.apache.struts.validator.Resources.ACTION_ERRORS_KEY
          This will be removed after Struts 1.2 
org.apache.struts.config.ForwardConfig.contextRelative
          Use module property instead; will be removed in a release following 1.2.0. 
org.apache.struts.taglib.html.ImgTag.contextRelative
          Use module property instead; will be removed in a release after 1.2.0. 
org.apache.struts.upload.MultipartElement.data
          This should never be used. 
org.apache.struts.action.Action.defaultLocale
          Use Locale.getDefault directly. This will be removed after Struts 1.2. 
org.apache.struts.taglib.bean.MessageTag.defaultLocale
          This will be removed after Struts 1.2. 
org.apache.struts.taglib.html.BaseHandlerTag.defaultLocale
          Use Locale.getDefault() directly. 
org.apache.struts.taglib.html.ErrorsTag.defaultLocale
          Use Locale.getDefault() directly. 
org.apache.struts.taglib.html.JavascriptValidatorTag.defaultLocale
          This variable is no longer used. 
org.apache.struts.taglib.html.OptionTag.defaultLocale
          Use Locale.getDefault() directly. 
org.apache.struts.util.ModuleException.error
          Use message instead. 
org.apache.struts.action.ActionErrors.GLOBAL_ERROR
          Use ActionMessages.GLOBAL_MESSAGE instead. This will be removed after Struts 1.2. 
org.apache.struts.validator.Resources.HTTP_SERVLET_REQUEST_KEY
          This will be removed after Struts 1.2 
org.apache.struts.taglib.html.ErrorsTag.lineEnd
          No longer used. 
org.apache.struts.taglib.html.HtmlTag.locale
          This will be removed after Struts 1.2. 
org.apache.struts.taglib.html.ImgTag.lowsrc
          This is not defined in the HTML 4.01 spec and will be removed in a future version of Struts. 
org.apache.struts.tiles.DefinitionsUtil.NO_DEBUG
          This will be removed in a release after Struts 1.2. 
org.apache.struts.tiles.DefinitionsFactoryConfig.PARSER_DETAILS_PARAMETER_NAME
          This will be removed in a release after Struts 1.2. 
org.apache.struts.taglib.tiles.InsertTag.ROLE_DELIMITER
          This will be removed in a release after Struts 1.2. 
org.apache.struts.validator.Resources.SERVLET_CONTEXT_KEY
          This will be removed after Struts 1.2 
org.apache.struts.tiles.DefinitionsFactoryConfig.TILES_DETAILS_PARAMETER_NAME
          This will be removed in a release after Struts 1.2. 
org.apache.struts.tiles.DefinitionsUtil.userDebugLevel
          This will be removed in a release after Struts 1.2. 
 

Deprecated Methods
org.apache.struts.action.ActionErrors.add(String, ActionError)
          Use add(String, ActionMessage) instead. This will be removed after Struts 1.2. 
org.apache.struts.action.DynaActionFormClass.clear()
          No longer need to Clear our cache of DynaActionFormClass instances. 
org.apache.struts.util.RequestUtils.computeParameters(PageContext, String, String, String, String, String, String, String, boolean)
          This will be removed after Struts 1.2. Use TagUtils.computeParameters(PageContext,String,String,String,String,String,String,String,boolean) instead. 
org.apache.struts.util.RequestUtils.computeURL(PageContext, String, String, String, Map, String, boolean)
          This will be removed after Struts 1.2 Use RequestUtils.computeURL(PageContext, String, String, String, String, Map, String, boolean) instead. 
org.apache.struts.util.RequestUtils.computeURL(PageContext, String, String, String, String, Map, String, boolean)
          This will be removed after Struts 1.2. Use TagUtils.computeURL(PageContext,String,String,String,String,String,Map,String, boolean) instead. 
org.apache.struts.util.RequestUtils.computeURL(PageContext, String, String, String, String, Map, String, boolean, boolean)
          This will be removed after Struts 1.2. Use TagUtils.computeURL(PageContext,String,String,String,String,String,Map,String,boolean,boolean) instead. 
org.apache.struts.tiles.DefinitionsUtil.createDefinitionsFactory(ServletContext, Map, String)
          Use createDefinitionsFactory(ServletContext servletContext, ServletConfig servletConfig) 
org.apache.struts.util.RequestUtils.encodeURL(String)
          Use TagUtils.encodeURL(String) instead. This will be removed after Struts 1.2. 
org.apache.struts.validator.Resources.getActionError(HttpServletRequest, ValidatorAction, Field)
          Use getActionMessage() instead. This will be removed after Struts 1.2. 
org.apache.struts.taglib.TagUtils.getActionErrors(PageContext, String)
          Use getActionMessages() instead. This will be removed after Struts 1.2. 
org.apache.struts.util.RequestUtils.getActionErrors(PageContext, String)
          Use TagUtils.getActionErrors(PageContext,String) instead. This will be removed after Struts 1.2. 
org.apache.struts.util.RequestUtils.getActionMappingName(String)
          This will be removed after Struts 1.2. Use TagUtils.getActionMappingName(String) instead. 
org.apache.struts.util.RequestUtils.getActionMappingURL(String, PageContext)
          This will be removed after Struts 1.2. Use TagUtils.getActionMappingURL(String,PageContext) instead. 
org.apache.struts.util.RequestUtils.getActionMessages(PageContext, String)
          Use TagUtils.getActionMessages(PageContext,String) instead. This will be removed after Struts 1.2. 
org.apache.struts.taglib.html.ImageTag.getAlign()
          Align attribute is deprecated in HTML 4.x. 
org.apache.struts.config.ForwardConfig.getContextRelative()
          Use module property instead; will be removed in a release following 1.2.0. 
org.apache.struts.taglib.html.ImgTag.getContextRelative()
          Use module property instead; will be removed in a release after 1.2.0. 
org.apache.struts.taglib.html.HtmlTag.getCurrentLocale()
          This will be removed after Struts 1.2. 
org.apache.struts.tiles.DefinitionsUtil.getDefinitionsFactory(ServletContext)
          Use TilesUtil.getDefinitionsFactory(ServletRequest, ServletContext) 
org.apache.struts.util.ModuleException.getError()
          Use getActionMessage() instead. This will be removed after Struts 1.2. 
org.apache.struts.taglib.html.HtmlTag.getLocale()
          This will be removed after Struts 1.2. 
org.apache.struts.validator.Resources.getLocale(HttpServletRequest)
          Use RequestUtils.getUserLocale() instead. This will be removed after Struts 1.2. 
org.apache.struts.taglib.html.ImgTag.getLowsrc()
          This is not defined in the HTML 4.01 spec and will be removed in a future version of Struts. 
org.apache.struts.util.RequestUtils.getModuleConfig(HttpServletRequest, ServletContext)
          Use ModuleUtils.getModuleConfig(HttpServletRequest,ServletContext) instead. This will be removed after Struts 1.2. 
org.apache.struts.util.RequestUtils.getModuleConfig(PageContext)
          Use TagUtils.getModuleConfig(PageContext) instead. This will be removed after Struts 1.2. 
org.apache.struts.util.RequestUtils.getModuleName(HttpServletRequest, ServletContext)
          Use Use ModuleUtils.getModuleName(HttpServletRequest,ServletContext) instead. This will be removed after Struts 1.2. 
org.apache.struts.util.RequestUtils.getModuleName(String, ServletContext)
          Use ModuleUtils.getModuleName(String,ServletContext) instead. This will be removed after Struts 1.2. 
org.apache.struts.util.RequestUtils.getModulePrefixes(ServletContext)
          Use ModuleUtils.getModulePrefixes(ServletContext) instead. This will be removed after Struts 1.2. 
org.apache.struts.taglib.tiles.util.TagUtils.getProperty(Object, String)
          Use PropertyUtils.getProperty() directly. This will be removed after Struts 1.2. 
org.apache.struts.util.RequestUtils.getRequestModuleConfig(HttpServletRequest)
          Use ModuleUtils.getModuleConfig(HttpServletRequest) instead. This will be removed after Struts 1.2. 
org.apache.struts.util.RequestUtils.getScope(String)
          This will be removed after Struts 1.2. Use TagUtils.getScope(String) instead. 
org.apache.struts.taglib.html.ImgTag.isContextRelativeSet()
          Use module property instead; will be removed in a release after 1.2.0. 
org.apache.struts.util.RequestUtils.isXhtml(PageContext)
          Use TagUtils.isXhtml(PageContext) instead. This will be removed after Struts 1.2. 
org.apache.struts.action.RequestProcessor.log(String)
          Use commons-logging instead. This will be removed in a release after Struts 1.2. 
org.apache.struts.action.RequestProcessor.log(String, Throwable)
          Use commons-logging instead. This will be removed in a release after Struts 1.2. 
org.apache.struts.util.RequestUtils.lookup(PageContext, String, String)
          This will be removed after Struts 1.2. Use TagUtils.lookup(PageContext,String,String) instead. 
org.apache.struts.util.RequestUtils.lookup(PageContext, String, String, String)
          This will be removed after Struts 1.2. Use TagUtils.lookup(PageContext,String,String,String) instead. 
org.apache.struts.util.RequestUtils.message(PageContext, String, String, String)
          Use TagUtils.message(PageContext,String,String,String) instead. This will be removed after Struts 1.2. 
org.apache.struts.util.RequestUtils.message(PageContext, String, String, String, Object[])
          Use TagUtils.message(PageContext,String,String,String,Object[]) instead. This will be removed after Struts 1.2. 
org.apache.struts.util.RequestUtils.pageURL(HttpServletRequest, String)
          Use TagUtils.pageURL(HttpServletRequest request, String page, ModuleConfig moduleConfig) instead. This will be removed after Struts 1.2. 
org.apache.struts.tiles.ControllerSupport.perform(ComponentContext, HttpServletRequest, HttpServletResponse, ServletContext)
          Use execute() instead. This will be removed after Struts 1.2. 
org.apache.struts.tiles.Controller.perform(ComponentContext, HttpServletRequest, HttpServletResponse, ServletContext)
          Use execute() instead. This will be removed after Struts 1.2. 
org.apache.struts.util.RequestUtils.present(PageContext, String, String, String)
          Use TagUtils.present(PageContext ,String,String,String) instead. This will be removed after Struts 1.2. 
org.apache.struts.tiles.actions.DefinitionDispatcherAction.printError(HttpServletResponse, String)
          This will be removed after Struts 1.2. 
org.apache.struts.taglib.tiles.InsertTag.InsertHandler.processException(Throwable, String)
          This method will be removed in a release after Struts 1.2. 
org.apache.struts.util.RequestUtils.retrieveUserLocale(PageContext, String)
          This will be removed after Struts 1.2. Use TagUtils.getUserLocale(PageContext,String) instead. 
org.apache.struts.action.Action.saveErrors(HttpServletRequest, ActionErrors)
          Use saveErrors(HttpServletRequest, ActionMessages) instead. This will be removed after Struts 1.2. 
org.apache.struts.util.RequestUtils.saveException(PageContext, Throwable)
          Use TagUtils.saveException(PageContext,Throwable) instead. This will be removed after Struts 1.2. 
org.apache.struts.util.RequestUtils.selectModule(HttpServletRequest, ServletContext)
          Use ModuleUtils.selectModule(HttpServletRequest,ServletContext) instead. This will be removed after Struts 1.2. 
org.apache.struts.util.RequestUtils.selectModule(String, HttpServletRequest, ServletContext)
          Use ModuleUtils.selectModule(String,HttpServletRequest,ServletContext) instead. This will be removed after Struts 1.2. 
org.apache.struts.taglib.html.ImageTag.setAlign(String)
          Align attribute is deprecated in HTML 4.x. 
org.apache.struts.config.ForwardConfig.setContextRelative(boolean)
          Use module property instead; will be removed in a release following 1.2.0. 
org.apache.struts.taglib.html.ImgTag.setContextRelative(String)
          Use module property instead; will be removed in a release after 1.2.0. 
org.apache.struts.config.FormBeanConfig.setDynamic(boolean)
          The value to be returned by getDynamic() is now computed automatically in setType() 
org.apache.struts.taglib.html.HtmlTag.setLocale(boolean)
          This will be removed after Struts 1.2. 
org.apache.struts.taglib.bean.IncludeTag.setName(String)
          use setPage(String) instead 
org.apache.struts.action.ExceptionHandler.storeException(HttpServletRequest, String, ActionError, ActionForward, String)
          Use storeException(HttpServletRequest, String, ActionMessage, ActionForward, String) instead. This will be removed after Struts 1.2. 
org.apache.struts.util.ResponseUtils.write(PageContext, String)
          use TagUtils.write() method instead. This method will be removed after Struts 1.2. 
org.apache.struts.util.ResponseUtils.writePrevious(PageContext, String)
          use TagUtils.writePrevious() method instead. This method will be removed after Struts 1.2. 
 

Deprecated Constructors
org.apache.struts.action.ActionForward(String, String, boolean, boolean)
          Use module rather than contextRelative 
org.apache.struts.config.ForwardConfig(String, String, boolean, boolean)
          Use module rather than contextRelative 
 



Copyright © 2000-2005 - The Apache Software Foundation