Hi All,
I have a web application deployed in WebLogic. In one of my java file, I tried to read PleaseNote.txt
as following:
File file = new File("PleaseNote.txt");
Now WebLogic is taking PleaseNote.txt
from its domain directory.My question is:
[1] Why it is domain directory? Why not the directory where my java file which has the above line of code is in?
[2] Is there any configuration which I am not aware of , but did unknowingly, for WebLogic to look in its domain directory?
[3] What are the implications / side effects of using above line of code in production?
Any WeLogic experts, please respond.
Thank you Regards Chaitanya