filenotfoundexception - External properties files in Webshpere Application server -


i placed properties file in profile_root/properties folder of server. when application searches file filenotfound exception. on other hand, able search existing properties file. should changed in server once property file has been added.

properties properties = new properties();  properties.load(new fileinputstream(new file("c:\\websphere\\appserver\\profiles\\appsrv01\\properties\\example.properties")));  system.out.println(properties.getproperty("en")); 


Comments

Popular posts from this blog

tcpdump - How to check if server received packet (acknowledged) -