This content has been marked as final. Show 3 replies
Using a relative PATH like what you were doing is not recommended because as you have seen, the result will vary between application servers.
To get the location you want, you can use the following variable from the system and prepend it to your file path:
If you really want to change the default, you can set the system variable for "user.dir"