Marco Rossi wrote:

I try to use sitemesh instead of tiles; in my “decorator” template page I need to include a struts action.
I try to do this:
<jsp:include page="/menu.do" flush="true" />, but I catch the following
java.lang.IllegalStateException: Response has already been committed


Any suggestion?

I think they just created a work around for this. My guess is the file you are including is maybe a static html page and you are using Tomcat? There was some problem the way the response was being committed for static pages (I think it's fixed now). There's a comment about it on the sitemesh site somewhere.


(For those reading this that use Tiles, I really suggest you switch over to Sitemesh. It's much easier to use and set up than tiles. I created a brief walk-through setup with a struts app here: http://www.reumann.net/struts/lessons/sitemesh/rr_sitemesh_example.jsp It only covers the VERY basics)

--
Rick

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to