I'm a new tiles user. I'm using the tiles-defs.xml method for definitions (if it matters).

I have a layout that includes: <tiles:insert attribute="body"/>

My definition does *not* include "body"

The "actual" jsp page determines the proper value for "body":

<tiles:insert definition="library.default">
<tiles:put name="body" value="/pages/successBody.jsp"/>
</tiles:insert>

Question: the way I'm doing this means I now have *two *pages for every page...in my case the "success.jsp" page that contains the <tiles:insert> and also the "successBody.jsp" page containing the actual content of the page.

Is this necessary, or is there a better way?

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

Reply via email to