Hi,
 
Assuming you have the core jetspeed running (if not, see
http://jakarta.apache.org/jetspeed/site/install.html
<http://jakarta.apache.org/jetspeed/site/install.html>   )
 
Then put your class file in the tomcat/webapps/jetspeed directory.
 
If you are running from CVS, you need to modify an xsd file or similar - as
the jcfg is redundant in the new world.
 
If you are using 1.3a1, then add an entry like this to the portlet-registry
element
 
  <portlet-entry type="instance" name="RaniBaiPortlet">
   <classname>HelloWorldPortlet</classname>
   
   <meta-info>
    <title>My First Portlet</title>
    <description>Wow - it worked!</description>
   </meta-info>
  </portlet-entry>
 
HTH,
Chris
 

-----Original Message-----
From: rani bai [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 20 June 2001 18:14
To: [EMAIL PROTECTED]
Subject: portlet



this is the portlet from doc

import org.apache.jetspeed.portal.portlets.AbstractPortlet;

import org.apache.turbine.util.RunData;

import org.apache.ecs.*;

public class HelloWorldPortlet extends AbstractPortlet

{

    public ConcreteElement getContent (RunData aRunData)

    {

        return (new StringElement ("Hello World!"));

    }

}

 

where i have to put the class file of this portlet and what entry to  make
in .cfcg file and how to run it

 


================================================================================================
This electronic message (email) and any attachments to it are subject to copyright and 
are sent for the personal attention of the addressee. Although you may be the named 
recipient, it may become apparent that this email and its contents are not intended 
for you and an addressing error has been made. This email may include information that 
is legally privileged and exempt from disclosure. If you have received this email in 
error, please advise us immediately and delete this email and any attachments from 
your computer system.Rabobank International is the trading name of Co�peratieve 
Centrale Raiffeisen-Boerenleenbank B.A. which is incorporated in the Netherlands. 
Registered with the Registrar of Companies for England & Wales No. BR002630 and 
regulated by the SFA for the conduct of investment business in the UK.

The presence of this footnote also confirms that this email has been automatically 
checked by Rabobank International for the presence of computer viruses prior to it 
being sent, however, no guarantee is given or implied that this email is virus free 
upon delivery.

==================================================================


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to