Title: Uploading of File Through Applet

Hi All,

        I want to upload a file on the Java-WebServer from a applet.
For that, I have got a Upload Servlet on the server-end which reads the
file send by the browser through the following HTML code ::

<form method="post" enctype="multipart/form-data"       action="http://hostname:8080/servlet/UploadTest">
        <input type=file size=20 name=filename>
        <input type=Submit value=Upload>
</form>

        I want to give this same HTML functionality through Applet.
Do anybody have some idea or code about how to do that ????

        I think, I will have to make header for the request which I will be sending
to the servlet. Is it right ??????

        Are there any other ways for uploading a file through Applet....???????

        Thanx in advance,

-Amit

Reply via email to