Change file name while generate cvs from java project : in this post (https://stackoverflow.com/questions/13159272/how-to-export-data-in-csv-format-using-java) I found out solution to write date to csv file and this work fine (TOP Answer).

I need change file name to anything with .csv extention. Now I get WebServlet name as a file name without any extention.

Have any of You idea how to set a file name ? 