DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16921>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16921 <tiles:insert> flushes on JSP 1.2+ container Summary: <tiles:insert> flushes on JSP 1.2+ container Product: Struts Version: 1.1 Beta 3 Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Tiles framework AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] <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. That way it is not possible to use tiles:insert inside the body of another tag. 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." I suggest using javax.servlet.jsp.JspEngineInfo engineInfo = JspFactory.getDefaultFactory().getEngineInfo(); in InsertTag to detect JSP container version and not do flush when it is not mandatory (JSP 1.2+), until "flush" attribute is set. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
