~ubuntu-branches/ubuntu/trusty/libstruts1.2-java/trusty-proposed

« back to all changes in this revision

Viewing changes to legacy/api-1.0/org/apache/struts/actions/AddFormBeanAction.html

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Vandyck
  • Date: 2004-11-19 15:35:25 UTC
  • Revision ID: james.westby@ubuntu.com-20041119153525-mdu08a76z4zo67xt
Tags: upstream-1.2.4
Import upstream version 1.2.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
 
2
<!--NewPage-->
 
3
<HTML>
 
4
<HEAD>
 
5
<!-- Generated by javadoc on Fri Jun 15 16:53:35 PDT 2001 -->
 
6
<TITLE>
 
7
Apache Struts API Documentation: Class  AddFormBeanAction
 
8
</TITLE>
 
9
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
 
10
</HEAD>
 
11
<BODY BGCOLOR="white">
 
12
 
 
13
<!-- ========== START OF NAVBAR ========== -->
 
14
<A NAME="navbar_top"><!-- --></A>
 
15
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
 
16
<TR>
 
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>&nbsp;</TD>
 
22
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 
23
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 
24
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 
25
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 
26
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 
27
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 
28
  </TR>
 
29
</TABLE>
 
30
</TD>
 
31
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 
32
</EM>
 
33
</TD>
 
34
</TR>
 
35
 
 
36
<TR>
 
37
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
38
&nbsp;PREV CLASS&nbsp;
 
39
&nbsp;<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>  &nbsp;
 
42
&nbsp;<A HREF="AddFormBeanAction.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
 
43
</TR>
 
44
<TR>
 
45
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
46
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.struts.action.Action">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 
47
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
48
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 
49
</TR>
 
50
</TABLE>
 
51
<!-- =========== END OF NAVBAR =========== -->
 
52
 
 
53
<HR>
 
54
<!-- ======== START OF CLASS DATA ======== -->
 
55
<H2>
 
56
<FONT SIZE="-1">
 
57
org.apache.struts.actions</FONT>
 
58
<BR>
 
59
Class  AddFormBeanAction</H2>
 
60
<PRE>
 
61
java.lang.Object
 
62
  |
 
63
  +--<A HREF="../../../../org/apache/struts/action/Action.html">org.apache.struts.action.Action</A>
 
64
        |
 
65
        +--<B>org.apache.struts.actions.AddFormBeanAction</B>
 
66
</PRE>
 
67
<HR>
 
68
<DL>
 
69
<DT>public class <B>AddFormBeanAction</B><DT>extends <A HREF="../../../../org/apache/struts/action/Action.html">Action</A></DL>
 
70
 
 
71
<P>
 
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>.
 
77
 </p>
 
78
<P>
 
79
<DL>
 
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>
 
82
</DL>
 
83
<HR>
 
84
 
 
85
<P>
 
86
<!-- ======== INNER CLASS SUMMARY ======== -->
 
87
 
 
88
 
 
89
<!-- =========== FIELD SUMMARY =========== -->
 
90
 
 
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>
 
95
</TR>
 
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>
 
98
</TR>
 
99
</TABLE>
 
100
&nbsp;
 
101
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
 
102
 
 
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>
 
108
</TR>
 
109
<TR BGCOLOR="white" CLASS="TableRowColor">
 
110
<TD><CODE><B><A HREF="../../../../org/apache/struts/actions/AddFormBeanAction.html#AddFormBeanAction()">AddFormBeanAction</A></B>()</CODE>
 
111
 
 
112
<BR>
 
113
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 
114
</TR>
 
115
</TABLE>
 
116
&nbsp;
 
117
<!-- ========== METHOD SUMMARY =========== -->
 
118
 
 
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>
 
124
</TR>
 
125
<TR BGCOLOR="white" CLASS="TableRowColor">
 
126
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
127
<CODE>&nbsp;<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>&nbsp;mapping,
 
129
        <A HREF="../../../../org/apache/struts/action/ActionForm.html">ActionForm</A>&nbsp;form,
 
130
        javax.servlet.http.HttpServletRequest&nbsp;request,
 
131
        javax.servlet.http.HttpServletResponse&nbsp;response)</CODE>
 
132
 
 
133
<BR>
 
134
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process the specified HTTP request, and create the corresponding HTTP
 
135
 response (or forward to another web component that will create it).</TD>
 
136
</TR>
 
137
</TABLE>
 
138
&nbsp;<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>
 
142
</TR>
 
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>
 
145
</TR>
 
146
</TABLE>
 
147
&nbsp;<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>
 
151
</TR>
 
152
<TR BGCOLOR="white" CLASS="TableRowColor">
 
153
<TD><CODE><clinit>, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait</CODE></TD>
 
154
</TR>
 
155
</TABLE>
 
156
&nbsp;
 
157
<P>
 
158
 
 
159
<!-- ============ FIELD DETAIL =========== -->
 
160
 
 
161
 
 
162
<!-- ========= CONSTRUCTOR DETAIL ======== -->
 
163
 
 
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>
 
169
</TR>
 
170
</TABLE>
 
171
 
 
172
<A NAME="AddFormBeanAction()"><!-- --></A><H3>
 
173
AddFormBeanAction</H3>
 
174
<PRE>
 
175
public <B>AddFormBeanAction</B>()</PRE>
 
176
<DL>
 
177
</DL>
 
178
 
 
179
<!-- ============ METHOD DETAIL ========== -->
 
180
 
 
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>
 
186
</TR>
 
187
</TABLE>
 
188
 
 
189
<A NAME="perform(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)"><!-- --></A><H3>
 
190
perform</H3>
 
191
<PRE>
 
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>&nbsp;mapping,
 
193
                             <A HREF="../../../../org/apache/struts/action/ActionForm.html">ActionForm</A>&nbsp;form,
 
194
                             javax.servlet.http.HttpServletRequest&nbsp;request,
 
195
                             javax.servlet.http.HttpServletResponse&nbsp;response)
 
196
                      throws java.io.IOException,
 
197
                             javax.servlet.ServletException</PRE>
 
198
<DL>
 
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>
 
205
</DD>
 
206
<DD><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>
 
208
</DD>
 
209
</DL>
 
210
<!-- ========= END OF CLASS DATA ========= -->
 
211
<HR>
 
212
 
 
213
<!-- ========== START OF NAVBAR ========== -->
 
214
<A NAME="navbar_bottom"><!-- --></A>
 
215
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
 
216
<TR>
 
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>&nbsp;</TD>
 
222
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 
223
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 
224
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 
225
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 
226
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 
227
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 
228
  </TR>
 
229
</TABLE>
 
230
</TD>
 
231
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 
232
</EM>
 
233
</TD>
 
234
</TR>
 
235
 
 
236
<TR>
 
237
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
238
&nbsp;PREV CLASS&nbsp;
 
239
&nbsp;<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>  &nbsp;
 
242
&nbsp;<A HREF="AddFormBeanAction.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
 
243
</TR>
 
244
<TR>
 
245
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
246
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.struts.action.Action">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 
247
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
248
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 
249
</TR>
 
250
</TABLE>
 
251
<!-- =========== END OF NAVBAR =========== -->
 
252
 
 
253
<HR>
 
254
Copyright � 2000-2001 - Apache Software Foundation
 
255
</BODY>
 
256
</HTML>