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 <a...@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-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Murat BIRBEN