Hello list,
I have a servlet that generates a CSV file. What I do is:
response.setContentType("application/csv");
PrintWriter out = response.getWriter();
out.write(csvContent);
out.flush();
What I get is attached.
How do I fix this? I also want the filename to be something else...
Thanks,
Zohar