I know you can use a meta
HTML tag to specify which decorator you want to use with your JSP files. For example in the file login.jsp
where I need the login
decorator:
<head>
<meta name="decorator" content="login" />
<!-- where "login" is the name of the decorator -->
</head>
So, I never tried yet, but you could probably give the name of the decorator through a POST or a GET parameter, and using it within the meta
tag:
<meta name="decorator" content="${decoratorName}" />