It has nothing to do with JavaScript and it maybe related more to the JSP rendering engine than to Tiles itself.
However, I wonder if there is a way to execute content, that is a JSP file defined as "content" attribute, grab that content for example as a string and then output it in the HTML body. Please, bear in mind that we are still on the server side, not in a browser.
