Publish your Liferay articles & Earn...For more information ,Click Here

AJAX call using Resource URL : Spring MVC Portlet

You can follow below steps to make AJAX call using resource URL

  1. Create Spring MVC portlet 
  2. In view.jsp write below code to generate resource URL    
    • <portlet:resourceURL var='myInfo' id='myInfo' />
  3. Write AJAX call scriptin view.jsp

SOAP Webservice in Liferay

Stay tune for more detail.....Article will be published very soon !!!

SpeedUP Liferay Application

Here is some bench marks which can increase your system performance :

Please see below details which can be taken care for Liferay performance benchmark.

1) First step to increase performance is hardware configuration.
So Hardware Configuration as per Liferay 6.1 EE Performance Whitepaper

How to sort HashMap

I know this is not related to Liferay... But it can be useful to you guys for java programming...
As we know that hash map doesnt allow duplicate value with the same key name... But if you want to sort the map by values instead of key, below is the code which can be useful...

Know Beanshell in Liferay

Hello Friends,

Do you know the use of Beanshell script which is coming up with Liferay control panel ?
If you go to Liferay control panel >> Server Administration section,
there is one tab available to run the bean shell script directly . See below screen shot

Your Comment Please

Email Subscription