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 "Shorney, Rob" <Ro...@northgate-is.com> on 2003/01/21 10:58:38 UTC

How to render a jsp from within a portlet

Hi,

 

Does anybody know if it is possible to render the contents of a jsp via a
portlet, and I do not mean by using the
org.apache.jetspeed.portal.portlets.JspPortlet.

 

In the IBM WebSphere Portal you can do the following

 

            PortletContext context = getProtletConfig().getContext();

            Context.include (jsp,request,response);

 

Is the same thing available in JetSpeed 1.4 b3

 

If anyone has any code samples that would be much appreciated

 

 

Regards

 

Rob Shorney

PDS - Local Government - Front Office Development Team

Northgate Information Solutions

----------------------------------------------------------------------------
--------

 



 
This email is sent on behalf of Northgate Information Solutions UK Limited ("Northgate") and is strictly confidential and intended solely for the addressee(s).  It may contain personal and confidential information and as such may be protected by the Data Protection Act 1998.

If you are not the intended recipient of this email you must: (i) not disclose, copy or distribute its contents to any other person nor use its contents in any way or you may be acting unlawfully;  (ii) contact Northgate immediately on +44 (0)1442 232424 quoting the name of the sender and the addressee then delete it from your system.

Any views or opinions expressed within this email are those of the author, and do not necessarily represent those of Northgate.

Northgate has scanned this email for viruses but does not accept any responsibility once this email has been transmitted.  You should scan attachments (if any) for viruses.

RE: How to render a jsp from within a portlet

Posted by Mark Orciuch <ma...@yahoo.com>.
>
>
> Does anybody know if it is possible to render the contents of a jsp via a
> portlet, and I do not mean by using the
> org.apache.jetspeed.portal.portlets.JspPortlet.
>
You can render a jsp via portlet the same way JspPortlet does it. Just look
inside that class to see how it's done.

Best regards,

Mark Orciuch - morciuch@apache.org
Jakarta Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: How to render a jsp from within a portlet

Posted by Mark Orciuch <ma...@ngsltd.com>.
>
>
> Does anybody know if it is possible to render the contents of a jsp via a
> portlet, and I do not mean by using the
> org.apache.jetspeed.portal.portlets.JspPortlet.
>
You can render a jsp via portlet the same way JspPortlet does it. Just look
inside that class to see how it's done.

Best regards,

Mark Orciuch - morciuch@apache.org
Jakarta Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: How to render a jsp from within a portlet

Posted by Mark Orciuch <ma...@ngsltd.com>.
>
>
> Does anybody know if it is possible to render the contents of a jsp via a
> portlet, and I do not mean by using the
> org.apache.jetspeed.portal.portlets.JspPortlet.
>
You can render a jsp via portlet the same way JspPortlet does it. Just look
inside that class to see how it's done.

Best regards,

Mark Orciuch - morciuch@apache.org
Jakarta Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>