Hai Hugh & Paul,

Cool both ways works fine, thanks a lote dears.

Cheers,
Nishar.



-----Original Message-----
From: Hugh Brien [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002 5:27 AM
To: Jetspeed Users List
Subject: Re: JSP inside the Portlet


Here is another way to put a JSP in a portlet. If none of the other options
work for you.

import org.apache.jetspeed.portal.portlets.AbstractPortlet;
import org.apache.turbine.util.*;
import org.apache.jetspeed.util.servlet.*;
import org.apache.ecs.ConcreteElement;
import org.apache.ecs.StringElement;

public class ContentPortlet extends AbstractPortlet
{
    public ConcreteElement getContent (RunData runData)
    {
 return (new EcsServletElement(runData,"/dynamic/kd/home.jsp"));
    }
}







----- Original Message -----
From: "Paul Spencer" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Monday, September 02, 2002 10:58 AM
Subject: Re: JSP inside the Portlet


> Nishar,
> A JSP can generate the portlet's content, see
http://jakarta.apache.org/jetspeed/site/portlet_config_JSP.html
>
> You can also use the WebPagePortlet that is a link to a web page the is
generated via a JSP.
>
> I an not sure what you mean by 'disply a JSP page inside the portlet'.
>
> Paul Spencer
>
>
> Aliyar, Nishar wrote:
>
> >Hai All,
> >
> >How I can disply a JSP page inside the portlet. If there is an example
let me know please.
> >
> >Greetings,
> >Nishar.
> >
> >
> >--
> >To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> >
> >
> >
> >
>
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


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


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

Reply via email to