I need to write the the processed data to a particular path within the project folder. When i tried this I got access denied error. Also this code is giving me weblogic server path. not the eclipse project path
FileOutputStream out;
System.out.println(new File(".").getAbsolutePath());
out = new FileOutputStream(new File(".").getAbsolutePath());
workbook.write(out);
out.close();
System.out.println("write_demo.xlsx written successfully on disk.");
I want write the file to the following path:
project-folder/war/write_demo.xlsx
How do i do that?