This has come up in the JSF RI and was recently corrected with Glassfish, you might want to check their dev mailing lists
On 11/13/05, Simon Kitching <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm working with JSF, and am having some problems related to jsp:include. > > It appears that jsp:include always creates a temporary buffer, stores > the included data into that buffer, then appends the buffer to the > original response output stream after the include has completed. This > causes nasty interactions with JSF tags which tend to output themselves > directly to the original response stream, and thus appear before the > surrounding template text and non-JSF tags. > > 1) Can anyone point me at the implementation of jsp:include? > > I guess it's part of jasper. Or maybe tomcat. Either way, I gave not > been able to find the source to see what it's doing and maybe why.. > > 2) Is this buffering behaviour of jsp:include mandated by the > JSP/servlet specs, or tomcat-specific? > > > Thanks, > > Simon > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >