Tiles supports wildcards too. From the documentation here:
http://tiles.apache.org/framework/tutorial/advanced/wildcard.html
<definition name="bank/*" template="/layout.jsp">
<put-attribute name="body" value="/{1}.jsp"/>
</definition>
The {1}
now refers to whatever the *
matched in the view that was called. However, you may find it simpler to just keep the repetition.