Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
    Bookmark Topic Watch Topic
  • New Topic

properties file in wsad

 
naga eswar
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • 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.

 
Paul Clapham
Sheriff
Posts: 21298
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Report post to moderator
Duplicate post -- original is here: http://www.coderanch.com/t/589016/Websphere/Properties-file-Wsad.
 
    Bookmark Topic Watch Topic
  • New Topic