How to upload a .gif file from client to server (URGENT)

Discussions

Web tier: servlets, JSP, Web frameworks: How to upload a .gif file from client to server (URGENT)

  1. Hi,

    I have to make an application for net thru which the client can upload a gif file to server. I don't have any idea how to do that so plz if somebody will tell me that.

    Thanx in Advance
    prashant
  2. <jsp:useBean id="myUpload" scope="page" class="com.jspsmart.upload.SmartUpload" />

    myUpload.getFiles().getFile(0).saveAs("/images/upload/" + customerLabel +"_logo.gif");