martinc 01/10/19 22:04:06
Modified: doc Tag: STRUTS_1_0_BRANCH index.xml struts-html.xml
Log:
Ported documentation updates to 1.0 branch.
PR: 4168, 4268
Submitted by: Joe Faith, Mark Mascolino
Revision Changes Path
No revision
No revision
1.2.2.4 +1 -1 jakarta-struts/doc/index.xml
Index: index.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/doc/index.xml,v
retrieving revision 1.2.2.3
retrieving revision 1.2.2.4
diff -u -r1.2.2.3 -r1.2.2.4
--- index.xml 2001/06/15 23:31:31 1.2.2.3
+++ index.xml 2001/10/20 05:04:05 1.2.2.4
@@ -75,7 +75,7 @@
</ul>
<p>Access to the CVS source repository for Struts is available through both
- <a href="http://jakarta.apache.org/cvsweb/index.cgi/jakarta-struts/">web
+ <a href="http://cvs.apache.org/viewcvs/jakarta-struts/">web
browser</a> and
<a href="http://jakarta.apache.org/getinvolved/cvsindex.html">CVS client</a>
interfaces.</p>
1.11.2.7 +10 -0 jakarta-struts/doc/struts-html.xml
Index: struts-html.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/doc/struts-html.xml,v
retrieving revision 1.11.2.6
retrieving revision 1.11.2.7
diff -u -r1.11.2.6 -r1.11.2.7
--- struts-html.xml 2001/10/05 05:05:47 1.11.2.6
+++ struts-html.xml 2001/10/20 05:04:06 1.11.2.7
@@ -858,6 +858,16 @@
associated with our current form. This tag is only valid when
nested inside a form tag body.
</p>
+ <p>
+ As with the corresponding HTML <input> element, the
+ enclosing form element must specify "POST" for the
<code>method</code>
+ attribute, and "multipart/form-data" for the <code>enctype</code>
+ attribute. For example:
+ <pre>
+ <html:form method="POST" enctype="multipart/form-data">
+ <html:file property="theFile" />
+ </html:form></pre>
+ </p>
</info>
<attribute>