how to load data from configproperties file for change in la

how to load data from config.properties file for change in language + using resource bundle

Solution

Answer

How to load data from config.properties file for change in language + using resource bundle

Coming to the point of config.properties file if you want to load properties , the file name must be extension with .properties and one more thing especially take care about your class path that means base directory compulsory in class path.

Instead of class path, you need to load file from file system.

Generally In the Case of java we can write like

//using config.properties file

ResourceBundle readdata = ResourceBundle .getBundle(\"config\")

//using server details like it have domain namespace

System.out.println(readdata.getString(\"details .(your extension of file name) \"));

From the above get the details and know about how to load the config.properties file.

how to load data from config.properties file for change in language + using resource bundleSolutionAnswer How to load data from config.properties file for chang

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site