You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tiles.apache.org by Angelo Chen <an...@yahoo.com.hk> on 2007/08/18 04:41:03 UTC

dynamic content

Hi,

I'm new to Tiles, here is a question:

I have a result.jsp which come from Tile's template, one of JSPs there is
content.jsp, in the ActionClass I'd forward to result.jsp, but I have to
write some data into content.jsp, now what I get is a HttpResponse in the
ActionClass, how to write the data back? what's the approach in situation
like this?

Thanks,

AC.
-- 
View this message in context: http://www.nabble.com/dynamic-content-tf4288980.html#a12209983
Sent from the tiles users mailing list archive at Nabble.com.


Re: dynamic content

Posted by Antonio Petrelli <an...@gmail.com>.
2007/8/18, Angelo Chen <an...@yahoo.com.hk>:
>
>
> I have a result.jsp which come from Tile's template, one of JSPs there is
> content.jsp, in the ActionClass I'd forward to result.jsp, but I have to
> write some data into content.jsp, now what I get is a HttpResponse in the
> ActionClass, how to write the data back? what's the approach in situation
> like this?



If you write directly using HttpResponse object, it will be included in the
page by Tiles as usual.

Antonio