A Techno Blog, mainly about Java

Hello World Portlet

From IBM:

WSAD Integration edition

First, this page has a link to the portal toolkit

Requirements: portlet-api.jar, wpsportlets.jar, wps.jar
Servlet functionality: j2ee.jar, dynacache.jar

javac -classpath %CLASSPATH%

import org.apache.jetspeed.portlet.*;
public class HelloWorld extends PortletAdapter {
public void init(PortletConfig portletConfig) throws UnavailableException
super.init( portletConfig );
public void doView( PortletRequest portletRequest, PortletResponse portletResponse )
throws PortletException, IOException
PrintWriter writer = portletResponse.getWriter();

Hello Portal World!


Developer Works On Portals

Portlet Redbook

October 11, 2004 - Posted by | Portals

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: