0

My application folder inside the Tomcat webapps folder contains a .jnlp, .jar and .html that reference each other properly. My .jar file accesses external resources, for example my code reads:

fileWriter = new FileWriter("In.csv");

However, when I run the app, it creates this In.csv file on my desktop instead! How do I change this working directory to the same folder as the .jar file?

Daryl Yong
  • 11
  • 5

0 Answers0