1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
5
<!-- Generated by javadoc on Fri Jun 15 16:53:35 PDT 2001 -->
7
Apache Struts API Documentation: Class AddFormBeanAction
9
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
11
<BODY BGCOLOR="white">
13
<!-- ========== START OF NAVBAR ========== -->
14
<A NAME="navbar_top"><!-- --></A>
15
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
17
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
18
<A NAME="navbar_top_firstrow"><!-- --></A>
19
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
20
<TR ALIGN="center" VALIGN="top">
21
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
22
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
23
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
24
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
25
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
26
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
27
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
31
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
37
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
38
PREV CLASS
39
<A HREF="../../../../org/apache/struts/actions/AddForwardAction.html"><B>NEXT CLASS</B></A></FONT></TD>
40
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
41
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
42
<A HREF="AddFormBeanAction.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
45
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
46
SUMMARY: INNER | <A HREF="#fields_inherited_from_class_org.apache.struts.action.Action">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
47
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
48
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
51
<!-- =========== END OF NAVBAR =========== -->
54
<!-- ======== START OF CLASS DATA ======== -->
57
org.apache.struts.actions</FONT>
59
Class AddFormBeanAction</H2>
63
+--<A HREF="../../../../org/apache/struts/action/Action.html">org.apache.struts.action.Action</A>
65
+--<B>org.apache.struts.actions.AddFormBeanAction</B>
69
<DT>public class <B>AddFormBeanAction</B><DT>extends <A HREF="../../../../org/apache/struts/action/Action.html">Action</A></DL>
72
<p>A standard <strong>Action</strong> that calls the
73
<code>addFormBean()</code> method of our controller servlet to add a new
74
action form definition dynamically. The new definition replaces any
75
existing definition for the same bean name. This action expects request
76
parameters whose names match the properties of <code>ActionFormBean</code>.
80
<DT><B>Version: </B><DD>$Revision: 1.1 $ $Date: 2001/09/17 20:05:42 $</DD>
81
<DT><B>Author: </B><DD>Craig R. McClanahan</DD>
86
<!-- ======== INNER CLASS SUMMARY ======== -->
89
<!-- =========== FIELD SUMMARY =========== -->
91
<A NAME="fields_inherited_from_class_org.apache.struts.action.Action"><!-- --></A>
92
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
93
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
94
<TD><B>Fields inherited from class org.apache.struts.action.<A HREF="../../../../org/apache/struts/action/Action.html">Action</A></B></TD>
96
<TR BGCOLOR="white" CLASS="TableRowColor">
97
<TD><CODE><A HREF="../../../../org/apache/struts/action/Action.html#DATA_SOURCE_KEY">DATA_SOURCE_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#defaultLocale">defaultLocale</A>, <A HREF="../../../../org/apache/struts/action/Action.html#ERROR_KEY">ERROR_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#EXCEPTION_KEY">EXCEPTION_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#FORM_BEANS_KEY">FORM_BEANS_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#FORWARDS_KEY">FORWARDS_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#LOCALE_KEY">LOCALE_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#MAPPING_KEY">MAPPING_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#MAPPINGS_KEY">MAPPINGS_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#MESSAGES_KEY">MESSAGES_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#MULTIPART_KEY">MULTIPART_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#servlet">servlet</A>, <A HREF="../../../../org/apache/struts/action/Action.html#SERVLET_KEY">SERVLET_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#TRANSACTION_TOKEN_KEY">TRANSACTION_TOKEN_KEY</A></CODE></TD>
101
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
103
<A NAME="constructor_summary"><!-- --></A>
104
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
105
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
106
<TD COLSPAN=2><FONT SIZE="+2">
107
<B>Constructor Summary</B></FONT></TD>
109
<TR BGCOLOR="white" CLASS="TableRowColor">
110
<TD><CODE><B><A HREF="../../../../org/apache/struts/actions/AddFormBeanAction.html#AddFormBeanAction()">AddFormBeanAction</A></B>()</CODE>
113
</TD>
117
<!-- ========== METHOD SUMMARY =========== -->
119
<A NAME="method_summary"><!-- --></A>
120
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
121
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
122
<TD COLSPAN=2><FONT SIZE="+2">
123
<B>Method Summary</B></FONT></TD>
125
<TR BGCOLOR="white" CLASS="TableRowColor">
126
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
127
<CODE> <A HREF="../../../../org/apache/struts/action/ActionForward.html">ActionForward</A></CODE></FONT></TD>
128
<TD><CODE><B><A HREF="../../../../org/apache/struts/actions/AddFormBeanAction.html#perform(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)">perform</A></B>(<A HREF="../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A> mapping,
129
<A HREF="../../../../org/apache/struts/action/ActionForm.html">ActionForm</A> form,
130
javax.servlet.http.HttpServletRequest request,
131
javax.servlet.http.HttpServletResponse response)</CODE>
134
Process the specified HTTP request, and create the corresponding HTTP
135
response (or forward to another web component that will create it).</TD>
138
<A NAME="methods_inherited_from_class_org.apache.struts.action.Action"><!-- --></A>
139
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
140
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
141
<TD><B>Methods inherited from class org.apache.struts.action.<A HREF="../../../../org/apache/struts/action/Action.html">Action</A></B></TD>
143
<TR BGCOLOR="white" CLASS="TableRowColor">
144
<TD><CODE><A HREF="../../../../org/apache/struts/action/Action.html#generateToken(javax.servlet.http.HttpServletRequest)">generateToken</A>, <A HREF="../../../../org/apache/struts/action/Action.html#getLocale(javax.servlet.http.HttpServletRequest)">getLocale</A>, <A HREF="../../../../org/apache/struts/action/Action.html#getResources()">getResources</A>, <A HREF="../../../../org/apache/struts/action/Action.html#getServlet()">getServlet</A>, <A HREF="../../../../org/apache/struts/action/Action.html#isCancelled(javax.servlet.http.HttpServletRequest)">isCancelled</A>, <A HREF="../../../../org/apache/struts/action/Action.html#isTokenValid(javax.servlet.http.HttpServletRequest)">isTokenValid</A>, <A HREF="../../../../org/apache/struts/action/Action.html#perform(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.ServletRequest, javax.servlet.ServletResponse)">perform</A>, <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)">perform</A>, <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)">perform</A>, <A HREF="../../../../org/apache/struts/action/Action.html#resetToken(javax.servlet.http.HttpServletRequest)">resetToken</A>, <A HREF="../../../../org/apache/struts/action/Action.html#saveErrors(javax.servlet.http.HttpServletRequest, org.apache.struts.action.ActionErrors)">saveErrors</A>, <A HREF="../../../../org/apache/struts/action/Action.html#saveToken(javax.servlet.http.HttpServletRequest)">saveToken</A>, <A HREF="../../../../org/apache/struts/action/Action.html#setLocale(javax.servlet.http.HttpServletRequest, java.util.Locale)">setLocale</A>, <A HREF="../../../../org/apache/struts/action/Action.html#setServlet(org.apache.struts.action.ActionServlet)">setServlet</A>, <A HREF="../../../../org/apache/struts/action/Action.html#toHex(byte[])">toHex</A></CODE></TD>
147
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
148
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
149
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
150
<TD><B>Methods inherited from class java.lang.Object</B></TD>
152
<TR BGCOLOR="white" CLASS="TableRowColor">
153
<TD><CODE><clinit>, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait</CODE></TD>
159
<!-- ============ FIELD DETAIL =========== -->
162
<!-- ========= CONSTRUCTOR DETAIL ======== -->
164
<A NAME="constructor_detail"><!-- --></A>
165
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
166
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
167
<TD COLSPAN=1><FONT SIZE="+2">
168
<B>Constructor Detail</B></FONT></TD>
172
<A NAME="AddFormBeanAction()"><!-- --></A><H3>
173
AddFormBeanAction</H3>
175
public <B>AddFormBeanAction</B>()</PRE>
179
<!-- ============ METHOD DETAIL ========== -->
181
<A NAME="method_detail"><!-- --></A>
182
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
183
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
184
<TD COLSPAN=1><FONT SIZE="+2">
185
<B>Method Detail</B></FONT></TD>
189
<A NAME="perform(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)"><!-- --></A><H3>
192
public <A HREF="../../../../org/apache/struts/action/ActionForward.html">ActionForward</A> <B>perform</B>(<A HREF="../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A> mapping,
193
<A HREF="../../../../org/apache/struts/action/ActionForm.html">ActionForm</A> form,
194
javax.servlet.http.HttpServletRequest request,
195
javax.servlet.http.HttpServletResponse response)
196
throws java.io.IOException,
197
javax.servlet.ServletException</PRE>
199
<DD>Process the specified HTTP request, and create the corresponding HTTP
200
response (or forward to another web component that will create it).
201
Return an <code>ActionForward</code> instance describing where and how
202
control should be forwarded, or <code>null</code> if the response has
203
already been completed.<DD><DL>
204
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/struts/action/Action.html#perform(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)">perform</A></CODE> in class <CODE><A HREF="../../../../org/apache/struts/action/Action.html">Action</A></CODE></DL>
207
<DT><B>Parameters:</B><DD><CODE>mapping</CODE> - The ActionMapping used to select this instance<DD><CODE>actionForm</CODE> - The optional ActionForm bean for this request (if any)<DD><CODE>request</CODE> - The HTTP request we are processing<DD><CODE>response</CODE> - The HTTP response we are creating<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if an input/output error occurs<DD><CODE>javax.servlet.ServletException</CODE> - if a servlet exception occurs</DL>
210
<!-- ========= END OF CLASS DATA ========= -->
213
<!-- ========== START OF NAVBAR ========== -->
214
<A NAME="navbar_bottom"><!-- --></A>
215
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
217
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
218
<A NAME="navbar_bottom_firstrow"><!-- --></A>
219
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
220
<TR ALIGN="center" VALIGN="top">
221
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
222
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
223
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
224
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
225
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
226
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
227
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
231
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
237
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
238
PREV CLASS
239
<A HREF="../../../../org/apache/struts/actions/AddForwardAction.html"><B>NEXT CLASS</B></A></FONT></TD>
240
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
241
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
242
<A HREF="AddFormBeanAction.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
245
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
246
SUMMARY: INNER | <A HREF="#fields_inherited_from_class_org.apache.struts.action.Action">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
247
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
248
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
251
<!-- =========== END OF NAVBAR =========== -->
254
Copyright � 2000-2001 - Apache Software Foundation