wood burning stoves 2.0*
The moose likes Websphere and the fly likes properties file in wsad Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Websphere
Reply locked New topic
Author

properties file in wsad

naga eswar
Ranch Hand

Joined: Jan 25, 2012
Posts: 120
Hi all....

I am working first in websphere

We are using websphere 6.1 for our application and we are placing all required properties file in below path of wsad.

C:\IBM\WebSphere\AppServer\properties

By using, below code we are loading the file

this.load(this.getClass().getResourceAsStream("/application.properties");

in the above code they have mentioned only file name, but not full path.
Can anybody let me know that where this path (C:\IBM\WebSphere\AppServer\properties) specifies in wsad.

for example if i want to create new file through java in this folder. How can i approach. I want create this file in any of server folder.

Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Duplicate post -- original is here: http://www.coderanch.com/t/589016/Websphere/Properties-file-Wsad.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: properties file in wsad