Jquery paginator for Liferay 6.1

This tutorial tells you how to make a custom jquery paginator in your liferay portlet. This example is about photoalbums, but the page can contain whatever in the <div “image”> The jquery file is specified in header-portlet tag in the liferay-portlet.xml : <header-portlet-javascript>/js/jquery-1.8.3.js </header-portlet-javascript> or in the jsp directly (as you can see below) The […]

How to render the content of a Tomcat 7 server location in your html/jsp

This is a short but useful tutorial. I’ve googled for 3 hours before understanding how to access a tomcat folder location. The following example should help you. If you want to render images from a server location in Tomcat 7, you need to create a your-web-app/META-INF/context.xml file and specify a location: Then in your .jsp […]