The following <portlet-action> element specifies the action class DisplayAction. The attribute value default="true" indicates that this is the default action class, which means that the class is invoked before the portlet's JSP renders.


      <portlet-actions>
         <portlet-action name="display" default="true">
            <type>sample.displayurl.DisplayAction</type>
         </portlet-action>