You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by vm...@apache.org on 2003/08/05 10:21:57 UTC
cvs commit: jakarta-cactus/documentation/docs/xdocs faq.xml sitemap.xml
vmassol 2003/08/05 01:21:57
Modified: documentation/docs/xdocs faq.xml sitemap.xml
Log:
Added other solution using commons-httpclient for fileupload in the FAQ
Revision Changes Path
1.16 +12 -2 jakarta-cactus/documentation/docs/xdocs/faq.xml
Index: faq.xml
===================================================================
RCS file: /home/cvs/jakarta-cactus/documentation/docs/xdocs/faq.xml,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- faq.xml 11 May 2003 08:51:30 -0000 1.15
+++ faq.xml 5 Aug 2003 08:21:57 -0000 1.16
@@ -331,9 +331,19 @@
How to send multipart/form-data to my servlet under test?
</p>
</section>
- <section title="Solution">
+ <section title="Solution 1">
<p>
- One solution is to use the
+ Use a recent version of Commons-httpclient, which supports
+ <link href="ext:commons_httpclient_multipart">sending multipart
+ data</link>. Tobias also has a nice
+ <link href="ext:commons_httpclient_multipart_tobias">blog
+ entry</link> describing how to use Java NIO, Commons-httpclient
+ and Cactus to upload a file.
+ </p>
+ </section>
+ <section title="Solution 2">
+ <p>
+ Another solution is to use the
<link href="ext:httpclient_other">HTTPClient</link>
classes from Ronald Tschalar, as demonstrated in the following
example:
1.56 +2 -0 jakarta-cactus/documentation/docs/xdocs/sitemap.xml
Index: sitemap.xml
===================================================================
RCS file: /home/cvs/jakarta-cactus/documentation/docs/xdocs/sitemap.xml,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- sitemap.xml 14 Jul 2003 23:08:13 -0000 1.55
+++ sitemap.xml 5 Aug 2003 08:21:57 -0000 1.56
@@ -411,6 +411,8 @@
<external id="commons_beanutils" url="http://jakarta.apache.org/commons/beanutils.html"/>
<external id="commons_collections" url="http://jakarta.apache.org/commons/collections.html"/>
<external id="commons_httpclient" url="http://jakarta.apache.org/commons/httpclient/"/>
+ <external id="commons_httpclient_multipart" url="http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/methods/multipart/package-summary.html"/>
+ <external id="commons_httpclient_multipart_tobias" url="http://www.freeroller.net/page/tradem/20030722"/>
<external id="commons_logging" url="http://jakarta.apache.org/commons/logging.html"/>
<external id="cruisecontrol" url="http://cruisecontrol.sourceforge.net/"/>
<external id="cvs" url="http://jakarta.apache.org/site/cvsindex.html"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org