1 5 6 13 package org.exoplatform.services.portletcontainer.test.portlet; 14 15 import javax.portlet.*; 16 import java.io.IOException ; 17 18 public class PortletWithNoCacheTag implements Portlet{ 19 public void init(PortletConfig portletConfig) throws PortletException { 20 } 21 22 public void processAction(ActionRequest actionRequest, ActionResponse actionResponse) throws PortletException, IOException { 23 } 24 25 public void render(RenderRequest renderRequest, RenderResponse renderResponse) throws PortletException, IOException { 26 renderResponse.setContentType("text/html"); 27 renderResponse.setProperty(RenderResponse.EXPIRATION_CACHE, ""+8); 28 } 29 30 public void destroy() { 31 } 32 } 33 | Popular Tags |