The moose likes Web Services and the fly likes Accessing file using relative path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Accessing file using relative path" Watch "Accessing file using relative path" New topic

Accessing file using relative path

Maya sekar
Ranch Hand

Joined: Sep 22, 2011
Posts: 70
In a REST Web Service I need to access a properties file pasted anywhere inside the project using the relative path of the File. Also the method needs to work fine irrespective of the platform it is deployed in, windows or unix...

thank you
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Accessing file using relative path
It's not a secret anymore!