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:35:45 GMT
Actually i'm not familiar with the interanls of
enctype="multipart/form-data" thing. I think, i should read about this
right?
By the way i'll change the <form> tag as you and Pid suggested.

Thanks,

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

> Murat Birben wrote:
>
>> 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>
>>
>>  Ok.
> First, you should probably change the <form> tag as follows :
>
>   <form action="/ResourceUploadServlet" method="POST"
>  enctype="multipart/form-data">
>
> Next:
> When the browser sends this to the server, it will do this using a
> particular format, similar to the (internal) format of an email with
> attachments.
> This is what the part : enctype="multipart/form-data" is all about. Are you
> familiar with this ?
>
>
>
> ---------------------------------------------------------------------
> 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