Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Properties file in Wsad

 
naga eswar
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anybody help me please
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic