Apache Struts API Documentation: Deprecated List

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

## Deprecated API

Deprecated Classes
org.apache.struts.action.ActionBase Application action classes should now extend Action directly, rather than this class.
org.apache.struts.action.ActionMappingBase Now that ActionMapping is a class, you should use it intead
org.apache.struts.util.BeanUtils At some point after Struts 1.0 final, will be replaced by an equivalent class in the Jakarta Commons Beanutils package.
org.apache.struts.util.ConvertUtils At some point after Struts 1.0 final, will be replaced by an equivalent class in the Jakarta Commons Beanutils package.
org.apache.struts.util.ErrorMessages Use org.apache.struts.action.ActionErrors instead
org.apache.struts.util.FastArrayList At some point after Struts 1.0 final, will be replaced by an equivalent class in the Jakarta Commons Collections package.
org.apache.struts.util.FastHashMap At some point after Struts 1.0 final, will be replaced by an equivalent class in the Jakarta Commons Collections package.
org.apache.struts.util.FastTreeMap At some point after Struts 1.0 final, will be replaced by an equivalent class in the Jakarta Commons Collections package.
org.apache.struts.util.PropertyUtils At some point after Struts 1.0 final, will be replaced by an equivalent class in the Jakarta Commons Beanutils package.
org.apache.struts.action.ValidatingActionForm Application ActionForm beans should now extend ActionForm directly, and override the validate() method if they wish to provide such services

Deprecated Fields
org.apache.struts.upload.MultipartElement.data This should never be used.

Deprecated Methods
org.apache.struts.action.ActionMapping.createFormInstance() Creation of ActionForm instances is now the responsibility of the controller servlet
org.apache.struts.action.ActionMapping.getActionClass() Use getType() 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.ActionMapping.getFormAttribute() Use getAttribute() instead
org.apache.struts.action.ActionMapping.getFormClass() Use the bean name to look up the corresponding ActionFormBean instead
org.apache.struts.action.ActionMapping.getFormPrefix() Use getPrefix() instead
org.apache.struts.action.ActionMapping.getFormScope() Use getScope() instead
org.apache.struts.action.ActionMapping.getFormSuffix() Use getSuffix() instead
org.apache.struts.action.ActionMapping.getInputForm() Use getInput() instead
org.apache.struts.action.Action.perform(ActionServlet, ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) Use the new perform() method without a servlet argument
org.apache.struts.action.Action.perform(ActionServlet, ActionMapping, ActionForm, ServletRequest, ServletResponse) Use the new perform() method without a servlet argument
org.apache.struts.action.ActionMapping.setActionClass(String) Use setType(String) 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.action.ActionMapping.setFormAttribute(String) Use setAttribute(String) instead
org.apache.struts.action.ActionMapping.setFormClass(String) Modify the corresponding ActionFormBean instead
org.apache.struts.action.ActionMapping.setFormPrefix(String) Use setPrefix(String) instead
org.apache.struts.action.ActionMapping.setFormScope(String) Use setScope(String) instead
org.apache.struts.action.ActionMapping.setFormSuffix(String) Use setSuffix(String) instead
org.apache.struts.action.ActionMapping.setInputForm(String) Use setInput(String) instead
org.apache.struts.taglib.bean.IncludeTag.setName(String) use setPage(String) instead
org.apache.struts.action.ActionForm.validate() This is the Struts 0.5 version of validation -- use the validate(ActionMapping,HttpServletRequest) method instead

Deprecated Constructors
org.apache.struts.upload.MultipartElement(String, String, String, byte[]) Use the constructor that takes an File as an argument as opposed to a byte array argument, which can cause memory problems

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

Copyright © 2000-2001 - Apache Software Foundation