You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ba...@apache.org on 2006/08/04 20:04:36 UTC
svn commit: r428804 -
/jakarta/commons/proper/fileupload/trunk/xdocs/using.xml
Author: bayard
Date: Fri Aug 4 11:04:36 2006
New Revision: 428804
URL: http://svn.apache.org/viewvc?rev=428804&view=rev
Log:
isMultipartContent is not available in ServletFileUpload - just FileUploadBase. So fixing the user guide as wished for in #FILEUPLOAD-114
Modified:
jakarta/commons/proper/fileupload/trunk/xdocs/using.xml
Modified: jakarta/commons/proper/fileupload/trunk/xdocs/using.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/fileupload/trunk/xdocs/using.xml?rev=428804&r1=428803&r2=428804&view=diff
==============================================================================
--- jakarta/commons/proper/fileupload/trunk/xdocs/using.xml (original)
+++ jakarta/commons/proper/fileupload/trunk/xdocs/using.xml Fri Aug 4 11:04:36 2006
@@ -113,7 +113,7 @@
providing a static method to do just that.
</p>
<source><![CDATA[// Check that we have a file upload request
-boolean isMultipart = ServletFileUpload.isMultipartContent(request);]]></source>
+boolean isMultipart = FileUploadBase.isMultipartContent(request);]]></source>
<p>
Now we are ready to parse the request into its constituent items.
</p>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
Re: svn commit: r428804 - /jakarta/commons/proper/fileupload/trunk/xdocs/using.xml
Posted by Martin Cooper <ma...@apache.org>.
On 8/4/06, bayard@apache.org <ba...@apache.org> wrote:
>
> Author: bayard
> Date: Fri Aug 4 11:04:36 2006
> New Revision: 428804
>
> URL: http://svn.apache.org/viewvc?rev=428804&view=rev
> Log:
> isMultipartContent is not available in ServletFileUpload - just
> FileUploadBase. So fixing the user guide as wished for in #FILEUPLOAD-114
I suppose. The problem is that this method _should_ be in ServletFileUpload
and _should not_ be in FileUploadBase, but there is no way to make that
happen (that I am aware of, anyway) without breaking backward compatibility.
--
Martin Cooper
Modified:
> jakarta/commons/proper/fileupload/trunk/xdocs/using.xml
>
> Modified: jakarta/commons/proper/fileupload/trunk/xdocs/using.xml
> URL:
> http://svn.apache.org/viewvc/jakarta/commons/proper/fileupload/trunk/xdocs/using.xml?rev=428804&r1=428803&r2=428804&view=diff
>
> ==============================================================================
> --- jakarta/commons/proper/fileupload/trunk/xdocs/using.xml (original)
> +++ jakarta/commons/proper/fileupload/trunk/xdocs/using.xml Fri Aug 4
> 11:04:36 2006
> @@ -113,7 +113,7 @@
> providing a static method to do just that.
> </p>
> <source><![CDATA[// Check that we have a file upload request
> -boolean isMultipart = ServletFileUpload.isMultipartContent
> (request);]]></source>
> +boolean isMultipart = FileUploadBase.isMultipartContent
> (request);]]></source>
> <p>
> Now we are ready to parse the request into its constituent items.
> </p>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>