struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rutger Heijmerikx <>
Subject Iterate question
Date Thu, 31 Mar 2005 17:47:04 GMT
Hi all,

Maybe it's clear what my problem exactly is when i post the jsp
contents and my question.

JSP contents:

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/taglibs-string" prefix="str"%>
<link rel="stylesheet" type="text/css" href="styles/default.css" />

<logic:iterate name="items" id="item">

>From <bean:write name="item" property="from" />
Subject <bean:write name="item" property="subject" />
In reply to <bean:write name="item" property="inreplyTo" />
messageId <bean:write name="item" property="messageId" />
references <bean:write name="item" property="references" />
Message<br />

<str:replace replace="NL" with="<br/>NL" carriageToken="NL">
<bean:write name="item" property="mailcontent" />

Parent : <bean:write name="item" property="parent" />


Now, the problem is, that the bean property "parent" is a new bean
itself. How can i iterate through this bean in the same jsp?

Hopefully you understand my problem, if not i'll be glad to explain it better.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message