Web tier: servlets, JSP, Web frameworks: Servlets/JSP

  1. Servlets/JSP (1 messages)

       i develope a servlet programme in local language. i want
    to download a font file on user side when uaer click the download button. please explain the procedure or give me a sample code.

    Threaded Messages (1)

  2. Servlets/JSP[ Go to top ]

    Hi Bhargav,

    I know a way to download but it will not install any file and will just get copied to the hardisk. In response.setContentType(), if you give any non standard mime types, then the browser will ask the user to download the file. Then the user can specify the directory and download the font file.