Tiles doesn't work anymore after this change, even this simple page, raises the exception:
<[EMAIL PROTECTED] prefix="tiles" uri="/tiles" %> <[EMAIL PROTECTED] contentType="text/xml" %> <tiles:insert page="parts/corporate-standard.jsp"> <tiles:put name="aggregation"> <tiles:insert page="parts/aggregation.jsp" /> </tiles:put> <tiles:put name="detail"> <tiles:insert page="parts/detail.jsp" /> </tiles:put> </tiles:insert> Ugly stuff. Vlad *> From*: Scott Ferguson <[EMAIL PROTECTED]<[EMAIL PROTECTED]:%20flush()%20may%20not%20be%20called%20in%20a%20body>> *> Date*: Mon Mar 06 2006 - 14:02:31 PST
On Mar 6, 2006, at 9:27 AM, Marat Radchenko wrote:
*>> After upgrading to Resin 3.0.18 I'm getting this exception: * *>> * *>> java.io.IOException: flush() may not be called in a body * *>> at com.caucho.jsp.BodyContentImpl.flush(BodyContentImpl.java:152) * *>> * *>> * *>> Please, fix it :) I think this is a bug. *
It's not a bug. :( The JSP spec and tck require Resin to throw that exception.
On the other hand, if you're using the body combined with jsp:include, we can probably fix it. But if it's straight from JSP or a taglib, then it can't be changed back.
-- Scott
*> *
_______________________________________________ resin-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/resin-interest
