Well the WSAD build in version, which is 1.1beta2. But is it a Struts problem, cause why does it work with Resin & WSAD, but not with Tomcat ???
Thanx Rouven ----- Original Message ----- From: "Arron Bates" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, December 11, 2003 3:34 AM Subject: Re: Problems with Tomcat and nested:iterate + jsp:include > Rouven, > > What Struts version are you running? > > > Arron. > > > > > > Hi there, > > > > hope someone has a clue, why this doesn't work with Tomcat, but > > works with Resin : > > > > I have a tile, where i want to show a treelike menu based on the > > monkey example for the struts-nested taglibs, see my code at the > > bottom. On the Resin and WSAD server, the tree is shown correctly, > > but with tomcat (4.1.? & 5.0.?), only the first children of each > > node is shown, and i don't know why, i assume that somehow tomcat > > only includes the treenode.jsp once, like on PHP where i can you > > have include & include_once. But where can i change this behavior of > > Tomcat ??? > > > > Thanx in advance > > > > Rouven > > > > ---- > > submenu.jsp : > > <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> > > > > <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> > > > > <%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %> > > > > <nested:form action="/treechange.do"> > > > > <nested:nest property="rootNode" > > > > > <jsp:include page="treenode.jsp" /> > > > > </nested:nest> > > > > </nested:form> > > > > --- > > > > treenode.jsp : > > > > --- > > > > <[EMAIL PROTECTED] contentType="text/html"%> > > > > <%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %> > > > > <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> > > > > <%-- monkey magic goes here --%> > > > > <nested:root> > > > > <img src="<%=request.getContextPath()%>/pix/spacer.gif" > > width="<nested:write property="nodeIndent" />" height="1"> > > > > <nested:equal property="showChildren" value="true"> > > > > <nested:notEqual property="level" value="0"> > > > > <nested:image src="pix/km_minus.gif" property="toggle" /> > > > > <nested:equal property="active" value="true"> > > > > <nested:link styleClass="active" page="/goneu.do" paramId="method" > paramProperty="method"> > > > > <nested:write filter="false" property="nodeName" /> > > > > </nested:link> > > > > </nested:equal> > > > > <nested:equal property="active" value="false"> > > > > <nested:link styleClass="notactive" page="/goneu.do" > > paramId="method" paramProperty="method"> > > > > <nested:write filter="false" property="nodeName" /> > > > > </nested:link> > > > > </nested:equal> > > > > </nested:notEqual> > > > > <br> > > > > <nested:iterate property="children"> > > > > <jsp:include page="treenode.jsp" /> > > > > </nested:iterate> > > > > </nested:equal> > > > > <nested:equal property="showChildren" value="false"> > > > > <nested:equal property="hasChildren" value="true"> > > > > <nested:image src="pix/km_plus.gif" property="toggle" /> > > > > </nested:equal> > > > > <nested:equal property="hasChildren" value="false"> > > > > <img src="<%=request.getContextPath()%>/pix/km_empty.gif"> > > > > </nested:equal> > > > > <nested:equal property="active" value="true"> > > > > <nested:link styleClass="active" page="/goneu.do" paramId="method" > paramProperty="method"> > > > > <nested:write filter="false" property="nodeName" /> > > > > </nested:link> > > > > </nested:equal> > > > > <nested:equal property="active" value="false"> > > > > <nested:link styleClass="notactive" page="/goneu.do" > > paramId="method" paramProperty="method"> > > > > <nested:write filter="false" property="nodeName" /> > > > > </nested:link> > > > > </nested:equal> > > > > <br> > > > > </nested:equal> > > > > </nested:root> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]