I want to know how can I download any file from JSP page based on content disposition as an attachment from mail server.
I want to create a link on JSP page, and by clicking on that link user can download file from mail server. The link should be for content dispostion's attachment type. How can I do that in JSP?