You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by SWC <ma...@crissman.net> on 2003/10/10 23:23:41 UTC

Upload

I am creating an web application that must accept large uploads ( 20 MB 
+ ).  In my testing, I was able to get the Upload control to work 
perfectly for small files, but I run into trouble with files that are 
large.  Can someone tell me what I need to do in order to get large 
uploads to work correctly?

Thanks.

Spencer


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Upload

Posted by Jim Bearce <ji...@bearce.us>.
Do something like this :

<application name="Application">
        <extension name="org.apache.tapestry.multipart-decoder" 
class="org.apache.tapestry.multipart.DefaultMultipartDecoder">
                <configure property-name="maxSize" type="double" 
value="134217728"/>    <!-- where the value is the maximum size you want 
to allow -->
        </extension>

        <page name="Home" specification-path="Home.page" />
</application>


SWC wrote:

> I am creating an web application that must accept large uploads ( 20 
> MB + ).  In my testing, I was able to get the Upload control to work 
> perfectly for small files, but I run into trouble with files that are 
> large.  Can someone tell me what I need to do in order to get large 
> uploads to work correctly?
>
> Thanks.
>
> Spencer
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org