struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From neelima mahesh <neels_mah...@yahoo.com>
Subject Re: Value Object in a Collection
Date Tue, 28 Jan 2003 20:49:03 GMT

Nope, I use the following...
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

....Thanks for ur response and appreciate any help...
Mahesh!
 David Graham <dgraham1980@hotmail.com> wrote:Can you use the JSTL tags?

David






>From: neelima mahesh 
>Reply-To: "Struts Users Mailing List" 
>To: struts-user@jakarta.apache.org
>Subject: Value Object in a Collection Date: Tue, 28 Jan 2003 12:41:44 -0800 
>(PST)
>
>Hi all,
>
> I'm new to this technology, I wanted to use only iterate tags to
>display the information. While iterate a collection in a JSP, need to
>display a Value Object's information. Following is the approach i've
>followed but in vain.
>
>> property="parentProperty"
> indexId="parentIndex" //arbitrary name
> id="parent" //arbitrary name
> type="java.util.List">
> > property="childProperty"
> indexId="childIndex" //arbitrary name
> id="child" //arbitrary name
> type="valueobjectVO">
> 
> // etc.
> 
>
>
>
>
>and i'm getting the following error....
>
>javax.servlet.ServletException: Cannot create iterator for this
>collection, stack: javax.servlet.ServletException: Cannot create
>iterator for
>this collection at
>org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:453)
>
>
>Thanks in Advance! appreciate any help in this regard.
>
>mahesh.
>
>
>
>---------------------------------
>Do you Yahoo!?
>Yahoo! Mail Plus - Powerful. Affordable. Sign up now


_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


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



---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message