To remove portlet from Page when portlet is empty.
renderRequest.setAttribute(WebKeys.PORTLET_CONFIGURATOR_VISIBILITY, Boolean.FALSE)
This Blog will help everyone to save their valuable time on finding some solutions related to Liferay.
#set ($Image_path = $request.get("theme-display").get("path-theme-images")) <img src= "$Image_path/foldername/imagename"/>
Note : foldername - if you have any folder in images folder with in
the '_diffs' folder of your theme then it is required.
imagename - Name of your image ex welcome.png etc.
Another way :-
<img src= "${themeDisplay.pathThemeImages}/foldername/imagename"/>
This Blog will help us to learn about the JNDI Data Source Configuration in Liferay DXP. We have tested this with Liferay 7.3 with Tomcat. ...