You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by "Hari, Piyush" <Pi...@intuit.com> on 2005/07/07 16:38:40 UTC

simple JSP portlet in Jetspeed 2.0

Hi ,

I am new to portlets and trying to create a simple JSP portlet in Jetspeed
2.0. Can anyone outline the steps to do the same ? I would really appreciate
it. I could not find any useful and comprehensive documentation on the net.

-Piyush


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


RE: simple JSP portlet in Jetspeed 2.0

Posted by Shah Amit <am...@hotmail.com>.
The simplest way would be, declare your portlet to be of class -- 
org.apache.portals.bridges.common.GenericServletPortlet in portlet.xml and 
then declare following initparams

    	<init-param>
      		<name>ViewPage</name>
      		<value>/WEB-INF/someFolder/yourPage.jsp</value>
	</init-param>

There are lot of sample applications (xxx:\jetspeeddir\applications\gems...) 
that ship with jetspeed. The only thing with doing it above way is that you 
will be tying yourself to jetspeed specific code a little bit.

Amit

----Original Message Follows----
From: "Hari, Piyush" <Pi...@intuit.com>
Reply-To: "Jetspeed Users List" <je...@portals.apache.org>
To: "'Jetspeed Users List'" <je...@portals.apache.org>
Subject: simple JSP portlet in Jetspeed 2.0
Date: Thu, 7 Jul 2005 07:38:40 -0700

Hi ,

I am new to portlets and trying to create a simple JSP portlet in Jetspeed
2.0. Can anyone outline the steps to do the same ? I would really appreciate
it. I could not find any useful and comprehensive documentation on the net.

-Piyush


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org