This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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: 18712
    
    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