my dog learned polymorphism*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Accessing file using relative path" Watch "Accessing file using relative path" New topic
Author

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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Accessing file using relative path
 
Similar Threads
context root. accessing directory from browser
JSP and Path related Question
plz help me
unable to load property file at runtime
encoding UTF-8 in Xml File