portals-jetspeed-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott T Weaver" <scotts-jetspeed-l...@binary-designs.net>
Subject RE: JSP Stand-alone portlet help
Date Fri, 06 Jan 2006 17:39:04 GMT
Well you can't just point to a jsp.  You need to write at least one portlet
then have it include the relevant jsp using
PortletRequestDispatcher.include().  Direct rendering of jsp pages is not
supported in the portlet spec as it is in the servlet spec.

-Scott


> -----Original Message-----
> From: Bryan Cantwell [mailto:bryan.cantwell@dataforceone.com]
> Sent: Friday, January 06, 2006 12:34 PM
> To: Jetspeed Users List
> Subject: Re: JSP Stand-alone portlet help
> 
> That is a very helpful link, but deals with deploying a class file. I have
> JSP... So, do I put my jsp document in simplest/WEB-INF/ instead of
> simplest/WEB-INF/classes and then almost everything else is the same per
> the
> tutorial? The only thing that is confusing my simple mind is the
> <portlet-class>Simplest</portlet-class> in the portlet.xml... How do I
> point
> to my jsp file instead?
> 
> Bryan
> ----- Original Message -----
> From: "Scott T Weaver" <scotts-jetspeed-list@binary-designs.net>
> To: "'Jetspeed Users List'" <jetspeed-user@portals.apache.org>
> Sent: Friday, January 06, 2006 11:16 AM
> Subject: RE: JSP Stand-alone portlet help
> 
> 
> > Deploying a portlet to Jetspeed 2 is no different than in any other
> portlet
> > container.  Here is simple portlet tutorial:
> >
> > http://portals.apache.org/jetspeed-2/guides/guide-simple-portlet.html
> >
> > Once that is done, you can manually add the portlet to a psml
> > (http://portals.apache.org/jetspeed-2/guides/guide-psml.html) or just
> added
> > by editing the page you want it on (upper right "pencil" icon in the
> gray
> > bar below the banner)
> >
> > Regards,
> > -Scott
> >
> > > -----Original Message-----
> > > From: Bryan Cantwell [mailto:bryan.cantwell@dataforceone.com]
> > > Sent: Friday, January 06, 2006 12:06 PM
> > > To: jetspeed-user@portals.apache.org
> > > Subject: JSP Stand-alone portlet help
> > >
> > > OK, I admit that I am dense and that I need someone to draw me a
> > > picture...
> > >
> > > I have a collection of simple stand alone jsp portlets, no java class
> or
> > > anything (they are totally self contained).
> > >
> > > I need to know STEP BY STEP how to turn them into jetspeed 2 portlets
> > > PLEASE!
> > >
> > > Do not assume that I already know or understand anything (I don't).
> > >
> > > Start from the fact that I have jetspeed running on a RHEL3 machine
> and
> > > let me know how I can allow my users to see and add these portlets to
> > > thier pages..
> > >
> > > Thanks
> >
> >
> > ---------------------------------------------------------------------
> > 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



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


Mime
View raw message