Hello all. I worte a code to download a file to client.
On IE6 and Netscape 4.75,it works fine. But on netscape,it doesn't. When I access this servlet,download dilog box will appear. After I chose save file,it do nothing. If I type file name on broser,such as http://localhost:8080/finename.csv I can. Here is my code. Is there any way to fix this problem? response.setContentType("text/comma-separated-values"); response.setHeader( "Content-Disposition", "attachment; filename=\"" + fileName + ".csv" + "\""); ServletContext ctx = getServletContext(); ctx.getRequestDispatcher("/" + fileName + ".csv").forward(request, response); ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
