Liferay Article
Tuesday, 14 November 2017
Read Value from properties file
We can read properties file value using
In properties file
your.key = hello
And In your java code:
String hello = PortletProps.get("your.key");
System.out.println("hello is..."+hello);
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment