0

I am currently developing an application using Spring and I am using a local file path for a txt file , however this doesn't work when I upload my web app (obviously)

How can I use the correct file path so that my text file can be found with the web app?

Current code:

Scanner myScanner= new Scanner(new FileInputStream("C:/path/to/file");

How do I find what to replace "C:/path/to/folder" with so that the web app can be deployed.

0 Answers0