Bob, And Jetspeed.log says? Paul Spencer
[EMAIL PROTECTED] wrote: > > Paul, > > I modified my file to reflect your changes and used the original > default.psml file. And NO LUCK. Maybe I have something wrong within my > setup and Jetspeed isn't configured properly?? This is sooooo frustrating!! > Everyone tells me that it is very simple. > > I guess I'll have to look into this a little more...darn it! > > Thanks for the help. > > Bob. > > -----Original Message----- > From: Paul Spencer [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 28, 2001 11:07 AM > To: [EMAIL PROTECTED] > Subject: Re: HelloWorldPortlet... > > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
