> In fact, logic:iterate extends BodyTags and implements IterateTag. > So for a newbie like me, everything looks ok. > Of course, I misunderstand all the problem. > That's why I ask for additionnal informations. >
<tiles:insert> is using JSP include mecanism. In JSP 1.1, include MUST use the flush mecanism : JSP buffer is flushed before include is done. For example, <jsp:include> tag has a mandatory "flush" attribute witch only allowed value is "true"... JSP 1.2 doesn't have this limitation : (JSP 1.2 spec p.17 : Relation to JSP 1.1) "Fixing the infamous "flush before you include" limitation in JSP 1.1." So you could alter tiles java sources so that no flush is performed by <tiles:insert> tag, building a tiles "JSP 1.2 upgraded" tag library. This can not be an official Struts enhancement since Servlet 2.2 / JSP 1.1 is the target container. <patch proposal> I don't know if they're is a way for a tag to know wich JSP version it's container is implementing. It could be a way for tiles taglib to determine if a flush is needed (not doing it if not specified, as JSP 1.2 include mecanism defines). An optional "flush" attribute could be added to tiles:include, with same behaviour as <jsp:include> (in JSP1.1 : only "true" allowed, in JSP1.2 defaults to "false") This could be an acceptable struts enhancement, as beeing compatible with previous Tiles versions and adding an interesting behaviour. </patch proposal> I've forward this message to cedric dumoulin (tiles contributor) for opinion. Nico. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>