I have a java program in which I want to export a html table to excel. When clicking on the export to excel button it creates a folder in C:/PR_excelSheet. Inside this folder the excel file is created. It works fine when I run the program in netbeans but it doesn't when I use the application on the web. What did i do wrong?