aspose file tools
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

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
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
It is sorta covered in the JavaRanch Style Guide.
subject: Accessing file using relative path