Not sure if I know excactly what you mean, but it's all in the same context, meaning that the JSP is in the same web application as my tapestry pages.
I've tried stepping through this with the eclipse debugger to try to see where the tapestry ApplicationServlet or other Tapestry classes decide to call the Home service on jsp include, even though the request is for the external or page service. No luck so far, I don't really know where to look, it's a big system... Once again, all tapestry features has been proven to work on regular requests. On 1/25/06, Mark Stang <[EMAIL PROTECTED]> wrote: > > Inge, > Are they both off of the same context? > > hth, > > Mark > > > -----Original Message----- > From: Inge Solvoll [mailto:[EMAIL PROTECTED] > Sent: Wed 1/25/2006 7:28 AM > To: Tapestry users > Subject: Re: Including tapestry page with jsp:include doesn't work > > Same result with <c:import url="sameUrl"/> and <tiles:insert > page="sameUrl"/> by the way. They all probably use the same mechanism for > including content. > > Maybe tapestry depends on some kind of request information that isn't > there > when the webserver performs an include like this? > > On 1/25/06, Inge Solvoll <[EMAIL PROTECTED]> wrote: > > > > I have the following problem: > > > > Old parts of my application is implemented in struts, while new parts > are > > implemented in tapestry. This causes a need for quite a few integration > > points, which have been no problem so far. > > > > Now I need to include a tapestry page from a jsp, or get the html > response > > of a tapestry page and deliver it to my jsp in some way. It works to > > include struts actions (/path/to/MyAction.do) via the tag > <jsp:includepage="/path/to/MyAction.do"/>. But when I try to do the same > thing with > > tapestry pages like this > (<jsp:includepage="/MyPage.external?sp=l1&sp=l2"/>), tapestry dispatches the > request to > > the tapestry home service. > > > > I don't see why this doesn't work, both struts (*.do) and tapestry > > (*.html, *.external...) are servlets, that should be equally > "insertable" in > > a JSP. Or? > > > > More info: > > - The url I'm trying to include via jsp works when accessing it the > > regular way, through a browser > > - Any tapestry extension causes the same behaviour (.external, .html) > > > > > > Inge > > > > >