usually a browser cannot interpret jsp files as html files.. but the tomcat or any other servver will convert those jsp codes into relevant html files so that the browser can display.. But I think atleast this code will try to save it as jsp files itself.. if downloading a file can be done using the load method..