You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-user@portals.apache.org by "Cottington, Alan" <Al...@factiva.com> on 2003/10/27 16:35:35 UTC

Problems with jsp:include

I can't seem to get jsp:include to do anything. No exceptions are raised. Does it work OK? Does it require path modifications?

Thanks,
Alan.

Re: Problems with jsp:include

Posted by Stefan Hepper <st...@hursley.ibm.com>.
Do you mean you want to include a JSP from a JSP that was included by a 
portlet? If you do this be aware that you then switch to the servlet 
world and loose the portlet environment in the include JSP.
(spec, PLT 16.3.3:
"The following methods of the HttpServletRequest must provide the 
functionality defined by the Servlet Specification 2.3: 
getRequestDispatcher,..."

If you still want to access the portlet environment you need to use the 
PortletRequest.getRD.

Stefan


Cottington, Alan wrote:

> I can't seem to get jsp:include to do anything. No exceptions are raised. Does it work OK? Does it require path modifications?
> 
> Thanks,
> Alan.
>