Wouldn't this work?
<title><spring:message code="page.manufacturer.list.title" /></title>
JoseK
2010-06-16 12:50:59
Wouldn't this work?
<title><spring:message code="page.manufacturer.list.title" /></title>
Pass it (in)directly as request parameter. Really, there's no better way since HTTP is stateless. Putting it in session without a request parameter based key may work for single tab/window, but it may end up in undesired results when using multiple tabs/windows in same browser session.
mylayout.jsp
<html>
<head>
<title><tiles:getAsString name="title"/></title>
</head>
<body>
<tiles:insertAttribute name="body" />
</body>
</html>
somepage.jsp
<tiles:insertDefinition name="mylayout">
<spring:message code="example.message" var="title"/>
<tiles:putAttribute name="title" value="${title}"/>
<tiles:putAttribute name="body">
...
</tiles:putAttribute>
</tiles:insertDefinition>