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

« back to all changes in this revision

Viewing changes to legacy/api-1.1/org/apache/struts/upload/MultipartRequestHandler.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 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
 
2
<!--NewPage-->
 
3
<HTML>
 
4
<HEAD>
 
5
<!-- Generated by javadoc on Fri Aug 22 03:43:58 EDT 2003 -->
 
6
<TITLE>
 
7
MultipartRequestHandler (Apache Struts API Documentation)
 
8
</TITLE>
 
9
<META NAME="keywords" CONTENT="org.apache.struts.upload.MultipartRequestHandler,MultipartRequestHandler interface">
 
10
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
 
11
</HEAD>
 
12
<SCRIPT>
 
13
function asd()
 
14
{
 
15
parent.document.title="MultipartRequestHandler (Apache Struts API Documentation)";
 
16
}
 
17
</SCRIPT>
 
18
<BODY BGCOLOR="white" onload="asd();">
 
19
 
 
20
<!-- ========== START OF NAVBAR ========== -->
 
21
<A NAME="navbar_top"><!-- --></A>
 
22
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
 
23
<TR>
 
24
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 
25
<A NAME="navbar_top_firstrow"><!-- --></A>
 
26
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
 
27
  <TR ALIGN="center" VALIGN="top">
 
28
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 
29
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 
30
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 
31
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/MultipartRequestHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 
32
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 
33
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 
34
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 
35
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 
36
  </TR>
 
37
</TABLE>
 
38
</TD>
 
39
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 
40
</EM>
 
41
</TD>
 
42
</TR>
 
43
 
 
44
<TR>
 
45
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
46
&nbsp;<A HREF="../../../../org/apache/struts/upload/FormFile.html"><B>PREV CLASS</B></A>&nbsp;
 
47
&nbsp;NEXT CLASS</FONT></TD>
 
48
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
49
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
 
50
&nbsp;<A HREF="MultipartRequestHandler.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
 
51
&nbsp;
 
52
<SCRIPT>
 
53
  <!--
 
54
  if(window==top) {
 
55
    document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
 
56
  }
 
57
  //-->
 
58
</SCRIPT>
 
59
<NOSCRIPT>
 
60
<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
 
61
</NOSCRIPT>
 
62
</FONT></TD>
 
63
</TR>
 
64
<TR>
 
65
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
66
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 
67
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
68
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 
69
</TR>
 
70
</TABLE>
 
71
<!-- =========== END OF NAVBAR =========== -->
 
72
 
 
73
<HR>
 
74
<!-- ======== START OF CLASS DATA ======== -->
 
75
<H2>
 
76
<FONT SIZE="-1">
 
77
org.apache.struts.upload</FONT>
 
78
<BR>
 
79
Interface MultipartRequestHandler</H2>
 
80
<DL>
 
81
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/apache/struts/upload/CommonsMultipartRequestHandler.html">CommonsMultipartRequestHandler</A>, <A HREF="../../../../org/apache/struts/upload/DiskMultipartRequestHandler.html">DiskMultipartRequestHandler</A></DD>
 
82
</DL>
 
83
<HR>
 
84
<DL>
 
85
<DT>public interface <B>MultipartRequestHandler</B></DL>
 
86
 
 
87
<P>
 
88
MultipartRequestHandler provides an standard interface for struts to
 
89
 deal with file uploads from forms with enctypes of "multipart/form-data".
 
90
 Providers must provide a no-argument constructor for initialization.
 
91
<P>
 
92
 
 
93
<P>
 
94
<DL>
 
95
<DT><B>Author:</B></DT>
 
96
  <DD>Mike Schachter</DD>
 
97
</DL>
 
98
<HR>
 
99
 
 
100
<P>
 
101
<!-- ======== NESTED CLASS SUMMARY ======== -->
 
102
 
 
103
 
 
104
<!-- =========== FIELD SUMMARY =========== -->
 
105
 
 
106
<A NAME="field_summary"><!-- --></A>
 
107
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
 
108
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
109
<TD COLSPAN=2><FONT SIZE="+2">
 
110
<B>Field Summary</B></FONT></TD>
 
111
</TR>
 
112
<TR BGCOLOR="white" CLASS="TableRowColor">
 
113
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
114
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
 
115
<TD><CODE><B><A HREF="../../../../org/apache/struts/upload/MultipartRequestHandler.html#ATTRIBUTE_MAX_LENGTH_EXCEEDED">ATTRIBUTE_MAX_LENGTH_EXCEEDED</A></B></CODE>
 
116
 
 
117
<BR>
 
118
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is the ServletRequest attribute that should be set when a multipart request is being read
 
119
 and the maximum length is exceeded.</TD>
 
120
</TR>
 
121
</TABLE>
 
122
&nbsp;
 
123
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
 
124
 
 
125
 
 
126
<!-- ========== METHOD SUMMARY =========== -->
 
127
 
 
128
<A NAME="method_summary"><!-- --></A>
 
129
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
 
130
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
131
<TD COLSPAN=2><FONT SIZE="+2">
 
132
<B>Method Summary</B></FONT></TD>
 
133
</TR>
 
134
<TR BGCOLOR="white" CLASS="TableRowColor">
 
135
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
136
<CODE>&nbsp;void</CODE></FONT></TD>
 
137
<TD><CODE><B><A HREF="../../../../org/apache/struts/upload/MultipartRequestHandler.html#finish()">finish</A></B>()</CODE>
 
138
 
 
139
<BR>
 
140
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called on when a successful form post
 
141
 has been made.</TD>
 
142
</TR>
 
143
<TR BGCOLOR="white" CLASS="TableRowColor">
 
144
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
145
<CODE>&nbsp;java.util.Hashtable</CODE></FONT></TD>
 
146
<TD><CODE><B><A HREF="../../../../org/apache/struts/upload/MultipartRequestHandler.html#getAllElements()">getAllElements</A></B>()</CODE>
 
147
 
 
148
<BR>
 
149
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method returns all elements of a multipart request.</TD>
 
150
</TR>
 
151
<TR BGCOLOR="white" CLASS="TableRowColor">
 
152
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
153
<CODE>&nbsp;java.util.Hashtable</CODE></FONT></TD>
 
154
<TD><CODE><B><A HREF="../../../../org/apache/struts/upload/MultipartRequestHandler.html#getFileElements()">getFileElements</A></B>()</CODE>
 
155
 
 
156
<BR>
 
157
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called on to retrieve all the FormFile
 
158
 input elements of the request.</TD>
 
159
</TR>
 
160
<TR BGCOLOR="white" CLASS="TableRowColor">
 
161
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
162
<CODE>&nbsp;<A HREF="../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A></CODE></FONT></TD>
 
163
<TD><CODE><B><A HREF="../../../../org/apache/struts/upload/MultipartRequestHandler.html#getMapping()">getMapping</A></B>()</CODE>
 
164
 
 
165
<BR>
 
166
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the ActionMapping instance for this request</TD>
 
167
</TR>
 
168
<TR BGCOLOR="white" CLASS="TableRowColor">
 
169
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
170
<CODE>&nbsp;<A HREF="../../../../org/apache/struts/action/ActionServlet.html">ActionServlet</A></CODE></FONT></TD>
 
171
<TD><CODE><B><A HREF="../../../../org/apache/struts/upload/MultipartRequestHandler.html#getServlet()">getServlet</A></B>()</CODE>
 
172
 
 
173
<BR>
 
174
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the ActionServlet instance</TD>
 
175
</TR>
 
176
<TR BGCOLOR="white" CLASS="TableRowColor">
 
177
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
178
<CODE>&nbsp;java.util.Hashtable</CODE></FONT></TD>
 
179
<TD><CODE><B><A HREF="../../../../org/apache/struts/upload/MultipartRequestHandler.html#getTextElements()">getTextElements</A></B>()</CODE>
 
180
 
 
181
<BR>
 
182
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called on to retrieve all the text
 
183
 input elements of the request.</TD>
 
184
</TR>
 
185
<TR BGCOLOR="white" CLASS="TableRowColor">
 
186
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
187
<CODE>&nbsp;void</CODE></FONT></TD>
 
188
<TD><CODE><B><A HREF="../../../../org/apache/struts/upload/MultipartRequestHandler.html#handleRequest(javax.servlet.http.HttpServletRequest)">handleRequest</A></B>(javax.servlet.http.HttpServletRequest&nbsp;request)</CODE>
 
189
 
 
190
<BR>
 
191
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;After constructed, this is the first method called on
 
192
 by ActionServlet.</TD>
 
193
</TR>
 
194
<TR BGCOLOR="white" CLASS="TableRowColor">
 
195
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
196
<CODE>&nbsp;void</CODE></FONT></TD>
 
197
<TD><CODE><B><A HREF="../../../../org/apache/struts/upload/MultipartRequestHandler.html#rollback()">rollback</A></B>()</CODE>
 
198
 
 
199
<BR>
 
200
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called on when there's some sort of problem
 
201
 and the form post needs to be rolled back.</TD>
 
202
</TR>
 
203
<TR BGCOLOR="white" CLASS="TableRowColor">
 
204
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
205
<CODE>&nbsp;void</CODE></FONT></TD>
 
206
<TD><CODE><B><A HREF="../../../../org/apache/struts/upload/MultipartRequestHandler.html#setMapping(org.apache.struts.action.ActionMapping)">setMapping</A></B>(<A HREF="../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A>&nbsp;mapping)</CODE>
 
207
 
 
208
<BR>
 
209
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convienience method to set a reference to a working
 
210
 ActionMapping instance.</TD>
 
211
</TR>
 
212
<TR BGCOLOR="white" CLASS="TableRowColor">
 
213
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
214
<CODE>&nbsp;void</CODE></FONT></TD>
 
215
<TD><CODE><B><A HREF="../../../../org/apache/struts/upload/MultipartRequestHandler.html#setServlet(org.apache.struts.action.ActionServlet)">setServlet</A></B>(<A HREF="../../../../org/apache/struts/action/ActionServlet.html">ActionServlet</A>&nbsp;servlet)</CODE>
 
216
 
 
217
<BR>
 
218
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convienience method to set a reference to a working
 
219
 ActionServlet instance.</TD>
 
220
</TR>
 
221
</TABLE>
 
222
&nbsp;
 
223
<P>
 
224
 
 
225
<!-- ============ FIELD DETAIL =========== -->
 
226
 
 
227
<A NAME="field_detail"><!-- --></A>
 
228
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
 
229
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
230
<TD COLSPAN=1><FONT SIZE="+2">
 
231
<B>Field Detail</B></FONT></TD>
 
232
</TR>
 
233
</TABLE>
 
234
 
 
235
<A NAME="ATTRIBUTE_MAX_LENGTH_EXCEEDED"><!-- --></A><H3>
 
236
ATTRIBUTE_MAX_LENGTH_EXCEEDED</H3>
 
237
<PRE>
 
238
public static final java.lang.String <B>ATTRIBUTE_MAX_LENGTH_EXCEEDED</B></PRE>
 
239
<DL>
 
240
<DD>This is the ServletRequest attribute that should be set when a multipart request is being read
 
241
 and the maximum length is exceeded. The value is a Boolean. If the maximum length isn't exceeded,
 
242
 this attribute shouldn't be put in the ServletRequest. It's the job of the implementation to put this
 
243
 attribute in the request if the maximum length is exceeded; in the handleRequest(HttpServletRequest) method.
 
244
<P>
 
245
<DL>
 
246
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.struts.upload.MultipartRequestHandler.ATTRIBUTE_MAX_LENGTH_EXCEEDED">Constant Field Values</A></DL>
 
247
</DL>
 
248
 
 
249
<!-- ========= CONSTRUCTOR DETAIL ======== -->
 
250
 
 
251
 
 
252
<!-- ============ METHOD DETAIL ========== -->
 
253
 
 
254
<A NAME="method_detail"><!-- --></A>
 
255
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
 
256
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
257
<TD COLSPAN=1><FONT SIZE="+2">
 
258
<B>Method Detail</B></FONT></TD>
 
259
</TR>
 
260
</TABLE>
 
261
 
 
262
<A NAME="setServlet(org.apache.struts.action.ActionServlet)"><!-- --></A><H3>
 
263
setServlet</H3>
 
264
<PRE>
 
265
public void <B>setServlet</B>(<A HREF="../../../../org/apache/struts/action/ActionServlet.html">ActionServlet</A>&nbsp;servlet)</PRE>
 
266
<DL>
 
267
<DD>Convienience method to set a reference to a working
 
268
 ActionServlet instance.
 
269
<P>
 
270
<DD><DL>
 
271
</DL>
 
272
</DD>
 
273
</DL>
 
274
<HR>
 
275
 
 
276
<A NAME="setMapping(org.apache.struts.action.ActionMapping)"><!-- --></A><H3>
 
277
setMapping</H3>
 
278
<PRE>
 
279
public void <B>setMapping</B>(<A HREF="../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A>&nbsp;mapping)</PRE>
 
280
<DL>
 
281
<DD>Convienience method to set a reference to a working
 
282
 ActionMapping instance.
 
283
<P>
 
284
<DD><DL>
 
285
</DL>
 
286
</DD>
 
287
</DL>
 
288
<HR>
 
289
 
 
290
<A NAME="getServlet()"><!-- --></A><H3>
 
291
getServlet</H3>
 
292
<PRE>
 
293
public <A HREF="../../../../org/apache/struts/action/ActionServlet.html">ActionServlet</A> <B>getServlet</B>()</PRE>
 
294
<DL>
 
295
<DD>Get the ActionServlet instance
 
296
<P>
 
297
<DD><DL>
 
298
</DL>
 
299
</DD>
 
300
</DL>
 
301
<HR>
 
302
 
 
303
<A NAME="getMapping()"><!-- --></A><H3>
 
304
getMapping</H3>
 
305
<PRE>
 
306
public <A HREF="../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A> <B>getMapping</B>()</PRE>
 
307
<DL>
 
308
<DD>Get the ActionMapping instance for this request
 
309
<P>
 
310
<DD><DL>
 
311
</DL>
 
312
</DD>
 
313
</DL>
 
314
<HR>
 
315
 
 
316
<A NAME="handleRequest(javax.servlet.http.HttpServletRequest)"><!-- --></A><H3>
 
317
handleRequest</H3>
 
318
<PRE>
 
319
public void <B>handleRequest</B>(javax.servlet.http.HttpServletRequest&nbsp;request)
 
320
                   throws javax.servlet.ServletException</PRE>
 
321
<DL>
 
322
<DD>After constructed, this is the first method called on
 
323
 by ActionServlet.  Use this method for all your
 
324
 data-parsing of the ServletInputStream in the request
 
325
<P>
 
326
<DD><DL>
 
327
 
 
328
<DT><B>Throws:</B>
 
329
<DD><CODE>javax.servlet.ServletException</CODE> - thrown if something goes wrong</DL>
 
330
</DD>
 
331
</DL>
 
332
<HR>
 
333
 
 
334
<A NAME="getTextElements()"><!-- --></A><H3>
 
335
getTextElements</H3>
 
336
<PRE>
 
337
public java.util.Hashtable <B>getTextElements</B>()</PRE>
 
338
<DL>
 
339
<DD>This method is called on to retrieve all the text
 
340
 input elements of the request.
 
341
<P>
 
342
<DD><DL>
 
343
 
 
344
<DT><B>Returns:</B><DD>A Hashtable where the keys and values are the names and
 
345
  values of the request input parameters</DL>
 
346
</DD>
 
347
</DL>
 
348
<HR>
 
349
 
 
350
<A NAME="getFileElements()"><!-- --></A><H3>
 
351
getFileElements</H3>
 
352
<PRE>
 
353
public java.util.Hashtable <B>getFileElements</B>()</PRE>
 
354
<DL>
 
355
<DD>This method is called on to retrieve all the FormFile
 
356
 input elements of the request.
 
357
<P>
 
358
<DD><DL>
 
359
 
 
360
<DT><B>Returns:</B><DD>A Hashtable where the keys are the input names of the
 
361
  files and the values are FormFile objects<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/struts/upload/FormFile.html"><CODE>FormFile</CODE></A></DL>
 
362
</DD>
 
363
</DL>
 
364
<HR>
 
365
 
 
366
<A NAME="getAllElements()"><!-- --></A><H3>
 
367
getAllElements</H3>
 
368
<PRE>
 
369
public java.util.Hashtable <B>getAllElements</B>()</PRE>
 
370
<DL>
 
371
<DD>This method returns all elements of a multipart request.
 
372
<P>
 
373
<DD><DL>
 
374
 
 
375
<DT><B>Returns:</B><DD>A Hashtable where the keys are input names and values
 
376
   are either Strings or FormFiles</DL>
 
377
</DD>
 
378
</DL>
 
379
<HR>
 
380
 
 
381
<A NAME="rollback()"><!-- --></A><H3>
 
382
rollback</H3>
 
383
<PRE>
 
384
public void <B>rollback</B>()</PRE>
 
385
<DL>
 
386
<DD>This method is called on when there's some sort of problem
 
387
 and the form post needs to be rolled back.  Providers
 
388
 should remove any FormFiles used to hold information
 
389
 by setting them to null and also physically delete
 
390
 them if the implementation calls for writing directly
 
391
 to disk.
 
392
 NOTE: Currently implemented but not automatically
 
393
 supported, ActionForm implementors must call rollback()
 
394
 manually for rolling back file uploads.
 
395
<P>
 
396
<DD><DL>
 
397
</DL>
 
398
</DD>
 
399
</DL>
 
400
<HR>
 
401
 
 
402
<A NAME="finish()"><!-- --></A><H3>
 
403
finish</H3>
 
404
<PRE>
 
405
public void <B>finish</B>()</PRE>
 
406
<DL>
 
407
<DD>This method is called on when a successful form post
 
408
 has been made.  Some implementations will use this
 
409
 to destroy temporary files or write to a database
 
410
 or something of that nature.
 
411
<P>
 
412
<DD><DL>
 
413
</DL>
 
414
</DD>
 
415
</DL>
 
416
<!-- ========= END OF CLASS DATA ========= -->
 
417
<HR>
 
418
 
 
419
<!-- ========== START OF NAVBAR ========== -->
 
420
<A NAME="navbar_bottom"><!-- --></A>
 
421
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
 
422
<TR>
 
423
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 
424
<A NAME="navbar_bottom_firstrow"><!-- --></A>
 
425
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
 
426
  <TR ALIGN="center" VALIGN="top">
 
427
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 
428
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 
429
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 
430
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/MultipartRequestHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 
431
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 
432
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 
433
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 
434
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 
435
  </TR>
 
436
</TABLE>
 
437
</TD>
 
438
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 
439
</EM>
 
440
</TD>
 
441
</TR>
 
442
 
 
443
<TR>
 
444
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
445
&nbsp;<A HREF="../../../../org/apache/struts/upload/FormFile.html"><B>PREV CLASS</B></A>&nbsp;
 
446
&nbsp;NEXT CLASS</FONT></TD>
 
447
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
448
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
 
449
&nbsp;<A HREF="MultipartRequestHandler.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
 
450
&nbsp;
 
451
<SCRIPT>
 
452
  <!--
 
453
  if(window==top) {
 
454
    document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
 
455
  }
 
456
  //-->
 
457
</SCRIPT>
 
458
<NOSCRIPT>
 
459
<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
 
460
</NOSCRIPT>
 
461
</FONT></TD>
 
462
</TR>
 
463
<TR>
 
464
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
465
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 
466
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
467
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 
468
</TR>
 
469
</TABLE>
 
470
<!-- =========== END OF NAVBAR =========== -->
 
471
 
 
472
<HR>
 
473
Copyright � 2000-2003 - Apache Software Foundation
 
474
</BODY>
 
475
</HTML>