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