I want to download files within a client browser from a web server using JSP. How can I do this?
Created May 7, 2012
Nguyen Duc Tien This is my solution:
<% response.setContentType("application/zip"); response.addHeader("content-disposition","filename.zip"); out.write("content of the file"); %>