Deprecated Methods |
org.apache.struts.tiles.TilesUtil.applicationClass(String)
Use RequestUtils.applicationClass() instead. |
org.apache.struts.tiles.TilesUtilImpl.applicationClass(String)
Use RequestUtils.applicationClass() instead. |
org.apache.struts.tiles.TilesUtilStrutsImpl.applicationClass(String)
Use RequestUtils.applicationClass() instead. |
org.apache.struts.util.RequestUtils.computeURL(PageContext, String, String, String, Map, String, boolean)
To be removed in Version 1.3.
Use RequestUtils.computeURL(PageContext, String, String, String, String, Map, String, boolean) instead. |
org.apache.struts.tiles.DefinitionsUtil.createDefinitionFactoryInstance(String)
No direct replacement. Use createDefinitionFactory
TilesUtil.createDefinitionsFactory(ServletContext, DefinitionsFactoryConfig) . |
org.apache.struts.tiles.DefinitionsUtil.createDefinitionsFactory(ServletContext, Map, String)
Use createDefinitionsFactory(ServletContext servletContext, ServletConfig servletConfig) |
org.apache.struts.taglib.html.HtmlTag.currentLocale()
Use getCurrentLocale instead because it makes the display logic
easier. |
org.apache.struts.action.ActionServlet.defaultControllerConfig(ModuleConfig)
Will be removed in a release after Struts 1.1. |
org.apache.struts.action.ActionServlet.defaultFormBeansConfig(ModuleConfig)
Will be removed in a release after Struts 1.1. |
org.apache.struts.action.ActionServlet.defaultForwardsConfig(ModuleConfig)
Will be removed in a release after Struts 1.1. |
org.apache.struts.action.ActionServlet.defaultMappingsConfig(ModuleConfig)
Will be removed in a release after Struts 1.1. |
org.apache.struts.action.ActionServlet.defaultMessageResourcesConfig(ModuleConfig)
Will be removed in a release after Struts 1.1. |
org.apache.struts.action.ActionServlet.destroyApplications()
replaced by destroyModules() |
org.apache.struts.action.ActionServlet.destroyDataSources()
Will no longer be required with module support |
org.apache.struts.taglib.template.PutTag.doEndTag()
Use Tiles instead. |
org.apache.struts.taglib.template.InsertTag.doEndTag()
Use Tiles instead. |
org.apache.struts.taglib.template.GetTag.doStartTag()
Use Tiles instead. |
org.apache.struts.taglib.template.InsertTag.doStartTag()
Use Tiles instead. |
org.apache.struts.action.ActionMessages.empty()
Use isEmpty instead. |
org.apache.struts.action.ActionServlet.findDataSource(String)
Look up data sources directly in servlet context attributes |
org.apache.struts.action.ActionServlet.findFormBean(String)
Replaced by ModuleConfig.findFormBeanConfig() |
org.apache.struts.action.ActionServlet.findForward(String)
Replaced by ModuleConfig.findForwardConfig() |
org.apache.struts.action.ActionServlet.findMapping(String)
Replaced by ModuleConfig.findActionConfig() |
org.apache.struts.taglib.template.util.ContentMap.get(String)
Use Tiles instead. |
org.apache.struts.util.StrutsValidatorUtil.getActionError(HttpServletRequest, ValidatorAction, Field)
As of Struts 1.1, replaced by Resources.getActionError(HttpServletRequest, ValidatorAction, Field) |
org.apache.struts.taglib.template.PutTag.getActualContent()
Use Tiles instead. |
org.apache.struts.taglib.html.ImageTag.getAlign()
Align attribute is deprecated in HTML 4.x. |
org.apache.struts.taglib.template.PutTag.getAncestor(String)
Use Tiles instead. |
org.apache.struts.config.ActionConfig.getApplicationConfig()
ActionConfig.getModuleConfig() |
org.apache.struts.action.ActionServlet.getApplicationConfig(HttpServletRequest)
use ActionServlet.getModuleConfig(HttpServletRequest) |
org.apache.struts.util.RequestUtils.getApplicationPrefixes(ServletContext)
Use getModulePrefixes(ServletContext) instead. |
org.apache.struts.util.StrutsValidatorUtil.getArgs(String, MessageResources, Locale, Field)
As of Struts 1.1, replaced by Resources.getArgs(String,MessageResources,Locale,Field) |
org.apache.struts.taglib.template.PutTag.getContent()
Use Tiles instead. |
org.apache.struts.taglib.template.util.Content.getContent()
Use Tiles instead. |
org.apache.struts.taglib.template.InsertTag.getContentMap()
Use Tiles instead. |
org.apache.struts.upload.MultipartElement.getData()
Use the getFile method to get a File representing the
data for this element |
org.apache.struts.action.ActionServlet.getDebug()
Configure the logging detail level in your underlying
logging implementation |
org.apache.struts.action.RequestProcessor.getDebug()
Configure the logging detail level in your
underlying logging implementation |
org.apache.struts.tiles.DefinitionsFactoryConfig.getDebugLevel()
Use commons-logging mechanism. |
org.apache.struts.tiles.DefinitionsUtil.getDefinition(String, PageContext)
Use TilesUtil.getDefinition(String, ServletRequest, ServletContext) |
org.apache.struts.tiles.DefinitionsUtil.getDefinitionsFactory(ServletContext)
Use TilesUtil.getDefinitionsFactory(ServletRequest, ServletContext) |
org.apache.struts.taglib.template.PutTag.getDirect()
Use Tiles instead. |
org.apache.struts.taglib.template.GetTag.getFlush()
Use Tiles instead. |
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.StrutsValidatorUtil.getMessage(MessageResources, Locale, ValidatorAction, Field)
As of Struts 1.1, replaced by Resources.getMessage(MessageResources, Locale, ValidatorAction , Field) |
org.apache.struts.validator.Resources.getMessageResources(ServletContext)
This method can only return the resources for the default
module. Use getMessageResources(HttpServletRequest) to get the
resources for the current module. |
org.apache.struts.util.StrutsValidatorUtil.getMessageResources(ServletContext)
This method can only return the resources for the default
module. Use getMessageResources(HttpServletRequest) to get the
resources for the current application module. |
org.apache.struts.taglib.template.PutTag.getName()
Use Tiles instead. |
org.apache.struts.taglib.template.GetTag.getName()
Use Tiles instead. |
org.apache.struts.tiles.DefinitionsFactoryConfig.getParserDebugLevel()
Use commons-logging mechanism. |
org.apache.struts.action.ActionServlet.getResources()
Actions should call Action.getResources(HttpServletRequest)
instead of this method, in order to retrieve the resources for the
current module. |
org.apache.struts.action.Action.getResources()
This method can only return the resources for the default
module. Use getResources(HttpServletRequest) to get the
resources for the current module. |
org.apache.struts.taglib.template.PutTag.getRole()
Use Tiles instead. |
org.apache.struts.taglib.template.GetTag.getRole()
Use Tiles instead. |
org.apache.struts.taglib.template.util.ContentMapStack.getStack(PageContext)
Use Tiles instead. |
org.apache.struts.taglib.template.InsertTag.getTemplate()
Use Tiles instead. |
org.apache.struts.validator.Resources.getValidatorResources(ServletContext)
In Struts 1.1 This method can only return the resources for the default
module. Use getValidatorResources(HttpServletRequest, ServletContext)
to get the resources for the current application module. |
org.apache.struts.util.StrutsValidatorUtil.getValidatorResources(ServletContext)
In Struts 1.1 This method can only return the resources for the default
module. Use getValidatorResources(HttpServletRequest, ServletContext)
to get the resources for the current application module. |
org.apache.struts.taglib.template.PutTag.hasBody()
Use Tiles instead. |
org.apache.struts.action.ActionServlet.initApplicationConfig(String, String)
use ActionServlet.initModuleConfig(String,String) |
org.apache.struts.action.ActionServlet.initApplicationDataSources(ModuleConfig)
use initModuleDataSources(ModuleConfig) |
org.apache.struts.action.ActionServlet.initApplicationMessageResources(ModuleConfig)
use initModuleMessageResources() |
org.apache.struts.action.ActionServlet.initApplicationPlugIns(ModuleConfig)
use ActionServlet.initModulePlugIns(ModuleConfig) |
org.apache.struts.action.ActionServlet.initDataSources()
Replaced by initApplicationDataSources() that takes
an ModuleConfig argument. This method does nothing. |
org.apache.struts.tiles.DefinitionsUtil.initUserDebugLevel(ServletConfig)
Use commons-logging package instead. |
org.apache.struts.util.StrutsValidatorUtil.initValidator(String, Object, ServletContext, HttpServletRequest, ActionErrors, int)
As of Struts 1.1, replaced by Resources.initValidator(String,Object,ServletContext,HttpServletRequest,ActionErrors,int) |
org.apache.struts.taglib.template.util.Content.isDirect()
Use Tiles instead. |
org.apache.struts.validator.ValidatorForm.log(String)
Use common-logging to log debug messages. |
org.apache.struts.validator.DynaValidatorForm.log(String)
Use common-logging, or other logging implementation to log debug messages. |
org.apache.struts.action.ActionServlet.log(String, int)
Use commons-logging instead. |
org.apache.struts.action.ActionServletWrapper.log(String, int)
Logging should now use the commons logging |
org.apache.struts.validator.ValidatorForm.log(String, Throwable)
Use common-logging to log debug messages. |
org.apache.struts.validator.DynaValidatorForm.log(String, Throwable)
Use common-logging, or other logging implementation to log debug messages. |
org.apache.struts.tiles.DefinitionsUtil.makeDefinitionsFactoryAccessible(DefinitionsFactory, ServletContext)
Use TilesUtil.createDefinitionsFactory(ServletContext, DefinitionsFactoryConfig) |
org.apache.struts.taglib.template.util.ContentMapStack.peek(PageContext)
Use Tiles instead. |
org.apache.struts.action.Action.perform(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse)
Use the execute() method instead |
org.apache.struts.action.Action.perform(ActionMapping, ActionForm, ServletRequest, ServletResponse)
Use the execute() method instead |
org.apache.struts.tiles.actions.TilesAction.perform(ComponentContext, ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse)
Use the execute() method instead |
org.apache.struts.taglib.template.util.ContentMapStack.pop(PageContext)
Use Tiles instead. |
org.apache.struts.action.RequestProcessor.processActionForward(HttpServletRequest, HttpServletResponse, ActionForward)
Use processForwardConfig() instead. |
org.apache.struts.tiles.ActionComponentServlet.processForward(String, HttpServletRequest, HttpServletResponse)
use doForward instead |
org.apache.struts.taglib.template.util.ContentMapStack.push(PageContext, ContentMap)
Use Tiles instead. |
org.apache.struts.taglib.template.InsertTag.put(String, Content)
Use Tiles instead. |
org.apache.struts.taglib.template.util.ContentMap.put(String, Content)
Use Tiles instead. |
org.apache.struts.taglib.template.PutTag.release()
Use Tiles instead. |
org.apache.struts.taglib.template.GetTag.release()
Use Tiles instead. |
org.apache.struts.taglib.template.InsertTag.release()
Use Tiles instead. |
org.apache.struts.taglib.template.GetTag.saveException(Throwable)
Use Tiles instead. |
org.apache.struts.taglib.template.InsertTag.saveException(Throwable)
Use Tiles instead. |
org.apache.struts.util.RequestUtils.selectApplication(HttpServletRequest, ServletContext)
use RequestUtils.selectModule(HttpServletRequest,ServletContext) |
org.apache.struts.util.RequestUtils.selectApplication(String, HttpServletRequest, ServletContext)
use RequestUtils.selectModule(String,HttpServletRequest,ServletContext) |
org.apache.struts.taglib.html.ImageTag.setAlign(String)
Align attribute is deprecated in HTML 4.x. |
org.apache.struts.config.ActionConfig.setApplicationConfig(ModuleConfig)
ActionConfig.setModuleConfig(ModuleConfig) |
org.apache.struts.taglib.template.PutTag.setContent(String)
Use Tiles instead. |
org.apache.struts.upload.MultipartElement.setData(byte[])
Use the setFile method to set the file
that represents the data of this element |
org.apache.struts.tiles.DefinitionsFactoryConfig.setDebugLevel(int)
Use commons-logging mechanism. |
org.apache.struts.tiles.DefinitionsUtil.setDefinitionsFactory(ComponentDefinitionsFactory, ServletContext)
since 20020708. Replaced by makeFactoryAccessible() |
org.apache.struts.tiles.xmlDefinition.XmlParser.setDetailLevel(int)
Use the commons-logging to set digester debug level. |
org.apache.struts.taglib.template.PutTag.setDirect(String)
Use Tiles instead. |
org.apache.struts.config.FormBeanConfig.setDynamic(boolean)
The value to be returned by getDynamic()
is now computed automatically in setType() |
org.apache.struts.taglib.template.GetTag.setFlush(boolean)
Use Tiles instead. |
org.apache.struts.taglib.tiles.InsertTag.setInstance(String)
Use setDefinition() instead. |
org.apache.struts.taglib.template.PutTag.setName(String)
Use Tiles instead. |
org.apache.struts.taglib.template.GetTag.setName(String)
Use Tiles instead. |
org.apache.struts.taglib.bean.IncludeTag.setName(String)
use setPage(String) instead |
org.apache.struts.tiles.DefinitionsFactoryConfig.setParserDebugLevel(int)
Use commons-logging mechanism. |
org.apache.struts.taglib.template.PutTag.setRole(String)
Use Tiles instead. |
org.apache.struts.taglib.template.GetTag.setRole(String)
Use Tiles instead. |
org.apache.struts.taglib.template.InsertTag.setTemplate(String)
Use Tiles instead. |
org.apache.struts.tiles.DefinitionsUtil.setUserDebugLevel(int)
Use commons-logging package instead. |
org.apache.struts.action.Action.toHex(byte[])
This method will be removed in a release after Struts 1.1. |
org.apache.struts.taglib.template.util.Content.toString()
Use Tiles instead. |
org.apache.struts.util.StrutsValidator.validateByte(Object, ValidatorAction, Field, ActionErrors, HttpServletRequest)
As of Struts 1.1, replaced by FieldChecks.validateByte(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest) |
org.apache.struts.util.StrutsValidator.validateCreditCard(Object, ValidatorAction, Field, ActionErrors, HttpServletRequest)
As of Struts 1.1, replaced by FieldChecks.validateCreditCard(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)
Translated to Java by Ted Husted (husted@apache.org
).
Reference Sean M. Burke's script at http://www.ling.nwu.edu/~sburke/pub/luhn_lib.pl
|
org.apache.struts.util.StrutsValidator.validateDate(Object, ValidatorAction, Field, ActionErrors, HttpServletRequest)
As of Struts 1.1, replaced by FieldChecks.validateDate(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest) |
org.apache.struts.util.StrutsValidator.validateDouble(Object, ValidatorAction, Field, ActionErrors, HttpServletRequest)
As of Struts 1.1, replaced by FieldChecks.validateDouble(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest) |
org.apache.struts.util.StrutsValidator.validateEmail(Object, ValidatorAction, Field, ActionErrors, HttpServletRequest)
As of Struts 1.1, replaced by FieldChecks.validateEmail(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)
Based on a script by Sandeep V. Tamhankar (stamhankar@hotmail.com), http://javascript.internet.com
|
org.apache.struts.util.StrutsValidator.validateFloat(Object, ValidatorAction, Field, ActionErrors, HttpServletRequest)
As of Struts 1.1, replaced by FieldChecks.validateFloat(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest) |
org.apache.struts.util.StrutsValidator.validateInteger(Object, ValidatorAction, Field, ActionErrors, HttpServletRequest)
As of Struts 1.1, replaced by FieldChecks.validateInteger(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest) |
org.apache.struts.util.StrutsValidator.validateLong(Object, ValidatorAction, Field, ActionErrors, HttpServletRequest)
As of Struts 1.1, replaced by FieldChecks.validateLong(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest) |
org.apache.struts.util.StrutsValidator.validateMask(Object, ValidatorAction, Field, ActionErrors, HttpServletRequest)
As of Struts 1.1, replaced by FieldChecks.validateMask(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest) |
org.apache.struts.util.StrutsValidator.validateMaxLength(Object, ValidatorAction, Field, ActionErrors, HttpServletRequest)
As of Struts 1.1, replaced by FieldChecks.validateMaxLength(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest) |
org.apache.struts.util.StrutsValidator.validateMinLength(Object, ValidatorAction, Field, ActionErrors, HttpServletRequest)
As of Struts 1.1, replaced by FieldChecks.validateMinLength(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest) |
org.apache.struts.validator.FieldChecks.validateRange(Object, ValidatorAction, Field, ActionErrors, HttpServletRequest)
As of Struts 1.1, replaced by FieldChecks.validateIntRange(java.lang.Object,org.apache.commons.validator.ValidatorAction,org.apache.commons.validator.Field,org.apache.struts.action.ActionErrors,javax.servlet.http.HttpServletRequest) |
org.apache.struts.util.StrutsValidator.validateRange(Object, ValidatorAction, Field, ActionErrors, HttpServletRequest)
As of Struts 1.1, replaced by FieldChecks.validateIntRange(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest) |
org.apache.struts.util.StrutsValidator.validateRequired(Object, ValidatorAction, Field, ActionErrors, HttpServletRequest)
As of Struts 1.1, replaced by FieldChecks.validateRequired(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest) |
org.apache.struts.util.StrutsValidator.validateShort(Object, ValidatorAction, Field, ActionErrors, HttpServletRequest)
As of Struts 1.1, replaced by FieldChecks.validateShort(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest) |