How to use the logic.iterate tag in this case - can let me know..

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 3:41 PM
To: [EMAIL PROTECTED]
Subject: RE: Urgent help reqd Stuck..!! - Getting a value String[] from
a Form Bean


You can use the Logic:iterate tag...Inside that you can uye any HTMl tag you
want...

Also have a look at  nested tags ...They will help you.

Why are you using the Arry and all this a bit difficult syntax?Why not use a
list instead?Then you dont have to keep worrying about setting the counter
etc...



-----Original Message-----
From: Chawla, Yogesh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 11:46 AM
To: 'Struts Users Mailing List'
Subject: Urgent help reqd Stuck..!! - Getting a value String[] from a
Form Bean
Importance: High


Hi,

My form bean contains the following get & set methods  :

setRate(String[] rate)
{
rate = this.rate;
}

public String[] getRate()
{
return rate (which is the String[])
}

Also one int variable (counter) which stores the no. of elements in the
Array.

public int counter() {
        return counter;
}

public void setCounter(int counter) {
        counter = this.counter;
}

How to get these values in the JSP for iterating the String[] counter no. of
times...

Pls. assist...

Thanx for your help.

Regards.
DISCLAIMER: The information in this message is confidential and may be
legally privileged. It is intended solely for the addressee.  Access to this
message by anyone else is unauthorised.  If you are not the intended
recipient, any disclosure, copying, or distribution of the message, or any
action or omission taken by you in reliance on it, is prohibited and may be
unlawful.  Please immediately contact the sender if you have received this
message in error. Thank you.

---------------------------------------------------------------------
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]
DISCLAIMER: The information in this message is confidential and may be
legally privileged. It is intended solely for the addressee.  Access to this
message by anyone else is unauthorised.  If you are not the intended
recipient, any disclosure, copying, or distribution of the message, or any
action or omission taken by you in reliance on it, is prohibited and may be
unlawful.  Please immediately contact the sender if you have received this
message in error. Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to