Bob,
I noticed that Tomcat need to be restarted when the portlet class file
changes.
Below is your HelloWorldPortlet that displays the time on the server. I
added the time so the content of the portlet would change.
Paul Spencer
import java.util.Date;
import org.apache.jetspeed.portal.PortletException;
import org.apache.jetspeed.portal.portlets.AbstractPortlet;
import org.apache.turbine.util.RunData;
import org.apache.ecs.*;
public class HelloWorldPortlet extends AbstractPortlet
{
/**
By default the data is non cacheable
*/
public void init( ) throws PortletException
{
setCacheable( false );
}
public ConcreteElement getContent (RunData aRunData)
{
return (new StringElement ("Hello World!! Time on the servers is
" + new Date()));
}
}
Paul Spencer
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]