| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <!-- Generated by javadoc on Fri Jun 15 16:53:35 PDT 2001 --> |
| <TITLE> |
| Apache Struts API Documentation: Deprecated List |
| </TITLE> |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> |
| </HEAD> |
| <BODY BGCOLOR="white"> |
| |
| <!-- ========== START OF NAVBAR ========== --> |
| <A NAME="navbar_top"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Deprecated</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| PREV |
| NEXT</FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> |
| <A HREF="deprecated-list.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD> |
| </TR> |
| </TABLE> |
| <!-- =========== END OF NAVBAR =========== --> |
| |
| <HR> |
| <CENTER> |
| <H2> |
| <B>Deprecated API</B></H2> |
| </CENTER> |
| |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=2><FONT SIZE="+2"> |
| <B>Deprecated Classes</B></FONT></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/action/ActionBase.html">org.apache.struts.action.ActionBase</A> |
| <BR> |
| <I>Application action classes should now extend Action |
| directly, rather than this class.</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/action/ActionMappingBase.html">org.apache.struts.action.ActionMappingBase</A> |
| <BR> |
| <I>Now that ActionMapping is a class, you should use it intead</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/util/BeanUtils.html">org.apache.struts.util.BeanUtils</A> |
| <BR> |
| <I>At some point after Struts 1.0 final, will be replaced by |
| an equivalent class in the Jakarta Commons Beanutils package.</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/util/ConvertUtils.html">org.apache.struts.util.ConvertUtils</A> |
| <BR> |
| <I>At some point after Struts 1.0 final, will be replaced by |
| an equivalent class in the Jakarta Commons Beanutils package.</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/util/ErrorMessages.html">org.apache.struts.util.ErrorMessages</A> |
| <BR> |
| <I>Use org.apache.struts.action.ActionErrors instead</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/util/FastArrayList.html">org.apache.struts.util.FastArrayList</A> |
| <BR> |
| <I>At some point after Struts 1.0 final, will be replaced by |
| an equivalent class in the Jakarta Commons Collections package.</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/util/FastHashMap.html">org.apache.struts.util.FastHashMap</A> |
| <BR> |
| <I>At some point after Struts 1.0 final, will be replaced by |
| an equivalent class in the Jakarta Commons Collections package.</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/util/FastTreeMap.html">org.apache.struts.util.FastTreeMap</A> |
| <BR> |
| <I>At some point after Struts 1.0 final, will be replaced by |
| an equivalent class in the Jakarta Commons Collections package.</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/util/PropertyUtils.html">org.apache.struts.util.PropertyUtils</A> |
| <BR> |
| <I>At some point after Struts 1.0 final, will be replaced by |
| an equivalent class in the Jakarta Commons Beanutils package.</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/action/ValidatingActionForm.html">org.apache.struts.action.ValidatingActionForm</A> |
| <BR> |
| <I>Application ActionForm beans should now extend ActionForm |
| directly, and override the validate() method if they wish to provide |
| such services</I> </TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=2><FONT SIZE="+2"> |
| <B>Deprecated Fields</B></FONT></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/upload/MultipartElement.html#data">org.apache.struts.upload.MultipartElement.data</A> |
| <BR> |
| <I>This should never be used.</I> </TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=2><FONT SIZE="+2"> |
| <B>Deprecated Methods</B></FONT></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/action/ActionMapping.html#createFormInstance()">org.apache.struts.action.ActionMapping.createFormInstance()</A> |
| <BR> |
| <I>Creation of ActionForm instances is now the responsibility |
| of the controller servlet</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/action/ActionMapping.html#getActionClass()">org.apache.struts.action.ActionMapping.getActionClass()</A> |
| <BR> |
| <I>Use getType() instead</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/upload/MultipartElement.html#getData()">org.apache.struts.upload.MultipartElement.getData()</A> |
| <BR> |
| <I>Use the getFile method to get a File representing the |
| data for this element</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/action/ActionMapping.html#getFormAttribute()">org.apache.struts.action.ActionMapping.getFormAttribute()</A> |
| <BR> |
| <I>Use getAttribute() instead</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/action/ActionMapping.html#getFormClass()">org.apache.struts.action.ActionMapping.getFormClass()</A> |
| <BR> |
| <I>Use the bean name to look up the corresponding |
| ActionFormBean instead</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/action/ActionMapping.html#getFormPrefix()">org.apache.struts.action.ActionMapping.getFormPrefix()</A> |
| <BR> |
| <I>Use getPrefix() instead</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/action/ActionMapping.html#getFormScope()">org.apache.struts.action.ActionMapping.getFormScope()</A> |
| <BR> |
| <I>Use getScope() instead</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/action/ActionMapping.html#getFormSuffix()">org.apache.struts.action.ActionMapping.getFormSuffix()</A> |
| <BR> |
| <I>Use getSuffix() instead</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/action/ActionMapping.html#getInputForm()">org.apache.struts.action.ActionMapping.getInputForm()</A> |
| <BR> |
| <I>Use getInput() instead</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/action/Action.html#perform(org.apache.struts.action.ActionServlet, org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)">org.apache.struts.action.Action.perform(ActionServlet, ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse)</A> |
| <BR> |
| <I>Use the new perform() method without a servlet argument</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/action/Action.html#perform(org.apache.struts.action.ActionServlet, org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.ServletRequest, javax.servlet.ServletResponse)">org.apache.struts.action.Action.perform(ActionServlet, ActionMapping, ActionForm, ServletRequest, ServletResponse)</A> |
| <BR> |
| <I>Use the new perform() method without a servlet argument</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/action/ActionMapping.html#setActionClass(java.lang.String)">org.apache.struts.action.ActionMapping.setActionClass(String)</A> |
| <BR> |
| <I>Use setType(String) instead</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/upload/MultipartElement.html#setData(byte[])">org.apache.struts.upload.MultipartElement.setData(byte[])</A> |
| <BR> |
| <I>Use the setFile method to set the file |
| that represents the data of this element</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/action/ActionMapping.html#setFormAttribute(java.lang.String)">org.apache.struts.action.ActionMapping.setFormAttribute(String)</A> |
| <BR> |
| <I>Use setAttribute(String) instead</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/action/ActionMapping.html#setFormClass(java.lang.String)">org.apache.struts.action.ActionMapping.setFormClass(String)</A> |
| <BR> |
| <I>Modify the corresponding ActionFormBean instead</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/action/ActionMapping.html#setFormPrefix(java.lang.String)">org.apache.struts.action.ActionMapping.setFormPrefix(String)</A> |
| <BR> |
| <I>Use setPrefix(String) instead</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/action/ActionMapping.html#setFormScope(java.lang.String)">org.apache.struts.action.ActionMapping.setFormScope(String)</A> |
| <BR> |
| <I>Use setScope(String) instead</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/action/ActionMapping.html#setFormSuffix(java.lang.String)">org.apache.struts.action.ActionMapping.setFormSuffix(String)</A> |
| <BR> |
| <I>Use setSuffix(String) instead</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/action/ActionMapping.html#setInputForm(java.lang.String)">org.apache.struts.action.ActionMapping.setInputForm(String)</A> |
| <BR> |
| <I>Use setInput(String) instead</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/taglib/bean/IncludeTag.html#setName(java.lang.String)">org.apache.struts.taglib.bean.IncludeTag.setName(String)</A> |
| <BR> |
| <I>use setPage(String) instead</I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/action/ActionForm.html#validate()">org.apache.struts.action.ActionForm.validate()</A> |
| <BR> |
| <I>This is the Struts 0.5 version of validation -- use the |
| validate(ActionMapping,HttpServletRequest) method instead</I> </TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=2><FONT SIZE="+2"> |
| <B>Deprecated Constructors</B></FONT></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><A HREF="org/apache/struts/upload/MultipartElement.html#MultipartElement(java.lang.String, java.lang.String, java.lang.String, byte[])">org.apache.struts.upload.MultipartElement(String, String, String, byte[])</A> |
| <BR> |
| <I>Use the constructor that takes an File as an argument |
| as opposed to a byte array argument, which can cause |
| memory problems</I> </TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| <HR> |
| |
| <!-- ========== START OF NAVBAR ========== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Deprecated</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| PREV |
| NEXT</FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> |
| <A HREF="deprecated-list.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD> |
| </TR> |
| </TABLE> |
| <!-- =========== END OF NAVBAR =========== --> |
| |
| <HR> |
| Copyright © 2000-2001 - Apache Software Foundation |
| </BODY> |
| </HTML> |