1 5 6 13 package org.exoplatform.services.portletcontainer.test.portlet; 14 15 import javax.portlet.*; 16 import java.io.IOException ; 17 import java.io.PrintWriter ; 18 import java.util.Enumeration ; 19 20 21 public class WSRPHelloWorldPortlet extends GenericPortlet { 22 23 protected void doView(RenderRequest renderRequest, RenderResponse renderResponse) 24 throws PortletException, IOException { 25 PrintWriter w = renderResponse.getWriter(); 26 w.println("Everything is ok"); 27 } 28 29 public void processAction(ActionRequest actionRequest, ActionResponse actionResponse) 30 throws PortletException, IOException { 31 } 32 33 } 34 | Popular Tags |