Forums de discussion

Caching of Property file

thumbnail
Mayur Patel, modifié il y a 12 années.

Caching of Property file

Expert Publications: 358 Date d'inscription: 17/11/10 Publications récentes
Hello All,

I want to store all the values of property file for that portlet in cache and for displaying values I wanted to get it from cache , I want to create our own cache for our portlet. Liferay is providing caching for many portlets like journal and others but we need to create our own cache.

Please give me an idea to achieve this.

Any help would be appreciated.

Thanks,
Mayur Patel
thumbnail
Samir Gami, modifié il y a 12 années.

RE: Caching of Property file

Regular Member Publications: 162 Date d'inscription: 04/02/11 Publications récentes
If your property file is external, you can use "java.util.Properties", to do so...
For property file that reside within portal, liferay have its own utils to fetch its value.