Sunday, 14 June 2015

Using custom properties file in jsp and java files for dynamic work(In Liferay 6.2)



 Properties prop = new Properties();
 FileInputStream inputStream = new FileInputStream("/path of the file");
 prop.load(inputStream);


U can keep properties file location src else tomcat bundle

No comments:

Post a Comment