> I am encountering a problem in using template tag > > Here is the samle jsp > > <%@ page language="java" %> > <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %> > <%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %> > <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %> > <%@ taglib uri="/WEB-INF/tlds/shan-taglib.tld" prefix="shan" %> > <%@ taglib uri="/WEB-INF/tlds/struts-template.tld" prefix="template" %> > > > <jsp:useBean id="pageTemplate" scope="session" > type="com.application.util.PageTemplate"/> > > <template:insert template='/xyz/template.jsp'> > <template:put name='header' content='/xyz/header.jsp' /> > <template:put name='sidebar' content='/xyz/sidebar.jsp' /> > <template:put name='mainbody' content='<shan:page />' /> > <template:put name='footer' content='/xyz/footer.jsp' /> > </template:insert> > > > For putting the mainbody's content, it works with a scriplet. > But when I do the above (i.e. let the taglib decide the page name, > Tag lib does get executed and does print out the correct name) > however in the html generated, It skips the mainbody block. > > Can anyone help me out in this issue ? > > Thanks > Shanthi