Christophe Mercier wrote: > Hi all, > > I'm curently working on a porlet which must display a Jsp according to a > parameter in the session. The parameter is the name of the Jsp. > > My porlet is binded to a Class, so i have to return the Jsp in the > getContent method. > > How can i do that ? > > Is ConcreteElement can be a Jsp ? >
> Is my Jsp compile before displayed ? > Look at org.apache.jetspeed.util.servlet.EcsServletElement that should fullfill your need (a JSP is just a special case of servlet). You can also use a modified version of org.apache.jetspeed.portal.portlets.JspPortlet that would let you retrieve the JSP name from the session rather than from the Registry. -- Raphael Luta - [EMAIL PROTECTED] Vivendi Universal Networks - Paris -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>