For a project I am creating an application where I need to download a file from another system -> parse information out of it -> sign the file -> compress it -> upload to database
For this I am developing a Java EE web application using JPA and JSF.
Is there a way to save the file to a specific directory? Right now I have hard coded the location where I store the file on my system. My goal is that it doesn't matter where I deploy the application it will dynamically use a file location for storing the file temporary so the application can process it.