推奨されていない API

推奨されていないクラス
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. 
org.apache.struts.util.ResponseUtils
          Use the corresponding TagUtils methods instead. This class will be removed after Struts 1.2. 
 

推奨されていないインタフェース
org.apache.struts.tiles.ComponentDefinitionsFactory
          Use DefinitionsFactory instead. 
 

推奨されていない例外
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. 
 

推奨されていないフィールド
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
          Locale.getDefaultを直接使ってください。 Struts 1.2.より後で削除されます。
@deprecated 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.OptionTag.defaultLocale
          Use Locale.getDefault() directly. 
org.apache.struts.taglib.html.JavascriptValidatorTag.defaultLocale
          This variable is no longer used. 
org.apache.struts.taglib.html.ErrorsTag.defaultLocale
          Use Locale.getDefault() directly. 
org.apache.struts.taglib.html.BaseHandlerTag.defaultLocale
          Use Locale.getDefault() directly. 
org.apache.struts.util.ModuleException.error
          Use message instead. 
org.apache.struts.action.ActionErrors.GLOBAL_ERROR
          代わりにActionMessages.GLOBAL_MESSAGEを使ってください。 これはStruts 1.2.より後に削除されます。
@deprecated 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. 
 

推奨されていないメソッド
org.apache.struts.action.ActionErrors.add(String, ActionError)
          代わりにadd(String, ActionMessage)を使ってください。 これはStruts 1.2.より後に削除されます。
@deprecated Use add(String, ActionMessage) instead. This will be removed after Struts 1.2.
 
org.apache.struts.action.DynaActionFormClass.clear()
          DynaActionFormClassインスタンスのキャッシュをクリアーすることは不要です。
@deprecated 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.util.ResponseUtils.filter(String)
            
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)
          この替わりに commons-logging を使用して下さい。 このメソッドは Struts 1.2. より後に削除されます。
@deprecated Use commons-logging instead. This will be removed in a release after Struts 1.2.
 
org.apache.struts.action.RequestProcessor.log(String, Throwable)
          この替わりに commons-logging を使用して下さい。 このメソッドは Struts 1.2. より後に削除されます。
@deprecated 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.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)
          代わりにsaveErrors(HttpServletRequest, ActionMessages)を使用して下さい。 このメソッドはStruts 1.2.より後で削除されます。
@deprecated 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)
          storeException(HttpServletRequest, String, ActionMessage, ActionForward, String)を代わりに使用してください。 このメソッドは Struts 1.2 より後で削除される予定です。
@deprecated Use storeException(HttpServletRequest, String, ActionMessage, ActionForward, String) instead. This will be removed after Struts 1.2.
 
org.apache.struts.util.ResponseUtils.write(PageContext, String)
            
org.apache.struts.util.ResponseUtils.writePrevious(PageContext, String)
            
 

推奨されていないコンストラクタ
org.apache.struts.action.ActionForward(String, String, boolean, boolean)
          contextRelativeよりもモジュールを使って下さい。
@deprecated Use module rather than contextRelative
 
org.apache.struts.config.ForwardConfig(String, String, boolean, boolean)
          Use module rather than contextRelative 
 



このドキュメントは、Ja-Jakartaにより訳されました。コメントがある場合は、report@jajakarta.orgまでお願いします。
Copyright (C) 2000-2004 - Apache Software Foundation