📄 actionerrors.html
字号:
<A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/action/ActionErrors.html#add(java.lang.String, org.apache.struts.action.ActionError)">add</A></B>(java.lang.String property, <A HREF="../../../../org/apache/struts/action/ActionError.html">ActionError</A> error)</CODE>
<BR>
<B>Deprecated.</B> <I>Use add(String, ActionMessage) instead. This will be removed after Struts 1.2.</I></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_org.apache.struts.action.ActionMessages"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class org.apache.struts.action.<A HREF="../../../../org/apache/struts/action/ActionMessages.html">ActionMessages</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../org/apache/struts/action/ActionMessages.html#add(org.apache.struts.action.ActionMessages)">add</A>, <A HREF="../../../../org/apache/struts/action/ActionMessages.html#add(java.lang.String, org.apache.struts.action.ActionMessage)">add</A>, <A HREF="../../../../org/apache/struts/action/ActionMessages.html#clear()">clear</A>, <A HREF="../../../../org/apache/struts/action/ActionMessages.html#get()">get</A>, <A HREF="../../../../org/apache/struts/action/ActionMessages.html#get(java.lang.String)">get</A>, <A HREF="../../../../org/apache/struts/action/ActionMessages.html#isAccessed()">isAccessed</A>, <A HREF="../../../../org/apache/struts/action/ActionMessages.html#isEmpty()">isEmpty</A>, <A HREF="../../../../org/apache/struts/action/ActionMessages.html#properties()">properties</A>, <A HREF="../../../../org/apache/struts/action/ActionMessages.html#size()">size</A>, <A HREF="../../../../org/apache/struts/action/ActionMessages.html#size(java.lang.String)">size</A>, <A HREF="../../../../org/apache/struts/action/ActionMessages.html#toString()">toString</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><clinit>, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="GLOBAL_ERROR"><!-- --></A><H3>
GLOBAL_ERROR</H3>
<PRE>
public static final java.lang.String <B>GLOBAL_ERROR</B></PRE>
<DL>
<DD><B>Deprecated.</B> <I>Use ActionMessages.GLOBAL_MESSAGE instead. This will be removed after Struts 1.2.</I>
<P>
<DD>The "property name" marker to use for global errors, as opposed to those related to a specific property.</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="ActionErrors()"><!-- --></A><H3>
ActionErrors</H3>
<PRE>
public <B>ActionErrors</B>()</PRE>
<DL>
<DD>Create an empty <code>ActionErrors</code> object.</DL>
<HR>
<A NAME="ActionErrors(org.apache.struts.action.ActionErrors)"><!-- --></A><H3>
ActionErrors</H3>
<PRE>
public <B>ActionErrors</B>(<A HREF="../../../../org/apache/struts/action/ActionErrors.html">ActionErrors</A> messages)</PRE>
<DL>
<DD>Create an <code>ActionErrors</code> object initialized with the given messages.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>messages</CODE> - The messages to be initially added to this object. This parameter can be <code>null</code>.<DT><B>Since: </B><DD>Struts 1.1</DD>
</DL>
</DD>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="add(java.lang.String, org.apache.struts.action.ActionError)"><!-- --></A><H3>
add</H3>
<PRE>
public void <B>add</B>(java.lang.String property, <A HREF="../../../../org/apache/struts/action/ActionError.html">ActionError</A> error)</PRE>
<DL>
<DD><B>Deprecated.</B> <I>Use add(String, ActionMessage) instead. This will be removed after Struts 1.2.</I>
<P>
<DD>Add an error message to the set of errors for the specified property.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>property</CODE> - Property name (or ActionErrors.GLOBAL_ERROR)<DD><CODE>error</CODE> - The error message to be added</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<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"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ActionErrors.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </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">
<A HREF="../../../../org/apache/struts/action/ActionError.html"><B>PREV CLASS</B></A>
<A HREF="../../../../org/apache/struts/action/ActionForm.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="ActionErrors.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: <A HREF="#inner_classes_inherited_from_class_org.apache.struts.action.ActionMessages">INNER</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
Copyright
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -