aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Properties file in Wsad" Watch "Properties file in Wsad" 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.

naga eswar
Ranch Hand

Joined: Jan 25, 2012
Posts: 120
can anybody help me please
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Properties file in Wsad