A
A
Argumentus2017-01-08 17:30:02
Java
Argumentus, 2017-01-08 17:30:02

How to get the path to a file that is in a web project?

Good afternoon.
I use spring, I have a controller, I need to get the path to the file from it, which lies in the web project, in order to parse it new File(fileName). How can I do that?
Thank you.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question