Ajax Implementation in the Liferay
Creating the Resource URL Liferay's default uses the resource url for ajax requests <portlet:resourceURL id="addResource" var="addResourceURL"> </portlet:resourceURL> Creating the Ajax function creating the Jquery ajax function function <portlet:namespace/>getEntries(){ var url = "${addResourceURL}"; $.ajax({ type : "POST", url : url, dataType : "JSON", ...