How to upload a file from a client browser to the web server

Discussions

Web tier: servlets, JSP, Web frameworks: How to upload a file from a client browser to the web server

  1. I would be pleased if anyone could show me the way to upload a file from a client browser to the web server and read that file within a servlet.
  2. A quick search at google.com for fileuploadservlet
    may give you links like :
    http://www.servertec.com/products/fileupload/samples/FileUploadServlet.html
    There is also good implementation for it at
    apache..
  3. Look into something called multipart Request.I will work.I have used it before for the same purpose as u have mentioned