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
>

Reply via email to