struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Petrelli" <>
Subject Re: tiles:insert instead of tiles:getAsString() creates problems.
Date Tue, 11 Dec 2007 08:17:39 GMT
2007/12/10, NagsNags <>:
>     <put name="contents" value="/new/contactHrC.jsp" />

If you insert this attribute (by using <tiles:insert>) the actual JSP page
is *included* in the layout page. This the default behaviour for all
attributes that have their values starting with the '/'.
Now if you want to insert the string, either use <tiles:getAsString> or add
in your <put> element the attribute type this way:
<put name="contents" value="/new/contactHrC.jsp" type="string" />


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message