Hi,
with a logic:iterate tag I run over a Collection:
logic:present name=%=Constants.SUBJECTS % scope=session
logic:iterate id=subjects name=%=Constants.SUBJECTS %
...output
/logic:iterate
/logic:present
It works well but if I try to iterate over the same collection after
changing
hi Ralf
I am facing the same trouble. If u come to know the answer Please let me
know as well
Thanks in Advance
Gary
- Original Message -
From: Ralf Rapude [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 05, 2003 4:49 PM
Subject: iterate over one collection two times
-
From: Ralf Rapude [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 05, 2003 4:49 PM
Subject: iterate over one collection two times in a jsp
Hi,
with a logic:iterate tag I run over a Collection:
logic:present name=%=Constants.SUBJECTS % scope=session
Rapude
To:
Sent: Friday, December 05, 2003 4:49 PM
Subject: iterate over one collection two times in a jsp
Hi,
with a logic:iterate tag I run over a Collection:
scope=session
...output
It works well but if I try to iterate over the same collection after
changing the id (but still
class for java 2 container,
try with ArrayList, also ArrayList is a bit faster than Vector and is not thread safe,
-Original Message-
From: ajay brar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 3:25 PM
To: [EMAIL PROTECTED]
Subject: iterate over a collection
hi!
can someone
hi!
can someone tell me whats wrong with this?
I am placing a vector of TransactionBean in session as
session.setAttribute(resVector, resVector);
i then place an empty TransactionBean in session scope as well
TransactionBean tb = new TransactionBean();
session.setAttribute(transactionBean, tb);
in
Instead of Vector try using the ArrayList.
-Original Message-
From: ajay brar [mailto:[EMAIL PROTECTED]
Sent: 29 October 2003 13:25
To: [EMAIL PROTECTED]
Subject: iterate over a collection
hi!
can someone tell me whats wrong with this?
I am placing a vector of TransactionBean in session
hi!
should it matter, they both implement the Collection interface and thats
what is really required here.
cheers
ajay
From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: iterate over a collection
Date: Wed, 29 Oct 2003 13:26:32 -
8 matches
Mail list logo