Hi All,
I want to upload a simple file from a html to a webserver running on apache
tomcat.
I used html tag <input type="file" name="upload_file" /> to select and post my request to
servlet.
In the servlet used the ServletInputStream of the request to write the bytes to any particular file. The file is getting created in the server but it's content seems to be missing.
Can anyone tell me what is wrong with my approach ?? Any help is truely appreciable.
Uploading Servlet portion