2
I am uploading with Primefaces where the upload is in the Project Resources folder, but I want to use another directory for file storage, preferably in the root directory where Tomcat is.
Any suggestions on how to get this path?
Currently I am using so: FacesContext.getCurrentInstance().getExternalContext().getRealPath("/") + "resources/files/";
And where’s Tomcat? What’s his address..
– Marlysson