Author: simonetripodi
Date: Thu Mar  7 10:04:52 2013
New Revision: 1453754

URL: http://svn.apache.org/r1453754
Log:
[FILEUPLOAD-186] #comment added a simple HTML form example to fileupload user 
guide #resolve

Modified:
    commons/proper/fileupload/trunk/src/site/xdoc/index.xml

Modified: commons/proper/fileupload/trunk/src/site/xdoc/index.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/fileupload/trunk/src/site/xdoc/index.xml?rev=1453754&r1=1453753&r2=1453754&view=diff
==============================================================================
--- commons/proper/fileupload/trunk/src/site/xdoc/index.xml (original)
+++ commons/proper/fileupload/trunk/src/site/xdoc/index.xml Thu Mar  7 10:04:52 
2013
@@ -39,6 +39,14 @@
         "multipart/form-data", then FileUpload can parse that request, and
         make the results available in a manner easily used by the caller.
       </p>
+
+      <p>The simplest way to send a <i>multipart/form-data</i> request to a 
server is via a web form, i.e.</p>
+      <source><![CDATA[<form method="POST" enctype="multipart/form-data" 
action="fup.cgi">
+  File to upload: <input type="file" name="upfile"><br/>
+  Notes about the file: <input type="text" name="note"><br/>
+  <br/>
+  <input type="submit" value="Press"> to upload the file!
+</form>]]></source>
     </section>
 
     <section name="Documentation">


Reply via email to