tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Murat Birben <muratbir...@gmail.com>
Subject Re: Tomcat 5.5 creates 0 byte files
Date Fri, 02 Jul 2010 13:11:20 GMT
Ok, here is the html form:

        <form action="ResourceUploadServlet" method="POST"
enctype="multipart/form-data">
                           <input type="file" name="Content" />
                            FileName :<input type="text" name="FileName" />
                            Path    :<input  type="text" name="Path" />
                            <input type="submit" value="Submit" />
        </form>

Thanks for your concern,

On Fri, Jul 2, 2010 at 4:02 PM, André Warnier <aw@ice-sa.com> wrote:

> Murat Birben wrote:
>
>> I've tried apache.commons.fileupload api but the result doesn't change. I
>> set the selenium waitForPageToLoad prop very small to produce the problem
>> and when time exceeded test fails and thousands of 0 bytes are generated.
>> I'll try the oreilly fileupload api too but it seems to me as the reason
>> is
>> not about the upload api.
>>
>> Is there anyone has another idea about this?
>>
>>  Murat,
>
> I have the feeling that you are not really familiar with the underlying
> HTTP mechanisms for multipart posts and/or file uploads.
> Can you post here a copy of the html form used by the client ?
> (take out the target server name etc..)
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


-- 
Murat BIRBEN

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message