Has anyone ever tried to do this? I would like to have a master JSP page this looks something like this:
<%@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' %> <template:insert template='/SiteTemplate.jsp'> <template:put name='title' content='SCMTest' direct='true' /> <template:put name='header' content='/Header.html' /> <template:put name='sidebar' content='/SideBar.jsp' /> <template:put name='content' content='/Content.jsp' /> <template:put name='footer' content='/Footer.html' /> </template:insert> but be able to dynamically change the template and or the template:put content source to something else... I thought about using scriptlets to insert the dynamic source.. but that doesn't work.. Please let me know if you've have any ideas.. Thanks, Minh