You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Unmesh Nadkarni <un...@finengsolutions.com> on 2004/02/17 09:13:09 UTC

Display TagLib & Struts

I have started working successfully on the Display TagLib in Struts.
There are no issues except that the export to .xls, .csv format gives
following errors in Tomcat. 

Exception:
javax.servlet.ServletException:org.apache.commons.collections.IteratorUt
ils.arrayIterator

Root cause:
java.lang.NoSuchMethodError:org.apache.commons.collections.IteratorUtils
.arrayIterator

Any leads to the same would be useful.

Thanks and Regards

Unmesh N

-----Original Message-----
From: Oliver Thiel [mailto:thiel.oliver@gmx.de] 
Sent: Sunday, February 15, 2004 6:00 PM
To: Struts Users Mailing List
Subject: Re: [OT] Display TagLib & Struts

I allready got it working! But anyway thanks for your replay. 
The only thing that does not for for me are the export types
- I can (automatically) create the links (XML Excel CVS)
But i always get a linke to a *.jsp instead of e.g. an *.xls file.

Have you/someone also experience something like that? If so 
how do you solved it?


Thanks 
Oliver 


> I'm using Display TagLib, now for testing purposes only but ...
> 
> All you have to do is to prepare list of beans with getter and setter
> method, and then defining columns by property names.
> 
> Documentation is good, so I don't know what you expecting now.
> 
> Only one bug i saw till now, if "cell" value has " character in it.
But i
> will work with that
> 
> So, what kind of error you have, what you want to do ??
> ----- Original Message -----
> From: "Oliver Thiel" <th...@gmx.de>
> To: <st...@jakarta.apache.org>
> Sent: Saturday, February 14, 2004 11:38 AM
> Subject: [OT] Display TagLib & Struts
> 
> 
> > Hi,
> >
> >
> > did anyone use the Display TagLib [www.displaytaglib.org]?
> > And can guide my - BETTER - send me some sample code
> > on how to use it with struts! I got the examples running in
> > my struts app - using the provided TestList's, but as soon as
> > I start creating my one from a resultSet I got some strange
> > errors. So it would be nice if someone could send me some
> > code how he/she did it!
> >
> >
> > Thanks and have a nice weekend ...
> > Oliver
> >
> > --
> > GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99
EUR/Monat...)
> > jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++
http://www.gmx.net/derspiegel
> +++
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
> >
----------------------------------------------------------------------
> > Dla tych, co chca sie zaKOCHAC... >>> http://link.interia.pl/f17c0
> >
> >
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 

-- 
GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel
+++


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Display TagLib & Struts

Posted by Nick Heudecker <ni...@systemmobile.com>.
You need to ensure that you have to correct version of the
commons-collections.jar, which is discussed here:

http://displaytag.sourceforge.net/install.html


On 2004-Feb-17 13:02, Unmesh Nadkarni wrote:
> I have started working successfully on the Display TagLib in Struts.
> There are no issues except that the export to .xls, .csv format gives
> following errors in Tomcat. 
> 
> Exception:
> javax.servlet.ServletException:org.apache.commons.collections.IteratorUt
> ils.arrayIterator
> 
> Root cause:
> java.lang.NoSuchMethodError:org.apache.commons.collections.IteratorUtils
> .arrayIterator
> 
> Any leads to the same would be useful.
> 
> Thanks and Regards
> 
> Unmesh N
> 

-- 
Nick Heudecker
System Mobile, Inc.
Email: nick@systemmobile.com
Web: http://www.systemmobile.com

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org