RE: Unable to see c:forEach out put

2005-01-13 Thread Abdullah Jibaly
Sorry, I was probably thinking that current was the varStatus variable. My 
mistake.

-Original Message-
From: Dakota Jack [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 12, 2005 5:23 PM
To: Struts Users Mailing List
Subject: Re: Unable to see c:forEach out put


I used:

td align=left
font color='red'
  c:forEach begin=1 end=5 var=current
c:out value=${current} /
  /c:forEach
/font
/td

And this worked fine, gave me:  1 2 3 4 5 in red.

Jack


On Wed, 12 Jan 2005 12:52:59 -0600, Abdullah Jibaly
[EMAIL PROTECTED] wrote:
 Actually I think it's ${current.count}
 
 -Original Message-
 From: Kishore Senji [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, January 12, 2005 12:37 PM
 To: Struts Users Mailing List
 Subject: Re: Unable to see c:forEach out put
 
 On Wed, 12 Jan 2005 13:52:32 +0530, Vamsee Kanakala
 [EMAIL PROTECTED] wrote:
  Rick Reumann wrote:
 
   It sounds like you are probably are now using a JSP2.0 container like
   Tomcat5 and are refering to the wrong tld. Refer to the one in the jar
   like:
  
   %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core%
  
   and remove and direct pointing to the tlds you have.
 
  Yes, I am using Tomcat 5.0.28. I then downloaded beanutils from the
  jakarta site, replaced the jstl.jar and standard.jar, and pointed to
  taglibs like you said above. I have strange problem - I am able to use
  c:forEach etc., but the var is not getting set. If I give something
  like this:
 
  c:forEach begin=1 end=5 var=current
   c:out value=${current} /
  /c:forEach
 
  I get something like this:
 
  ${current} ${current} ${current} ${current} ${current}
 
 
 Well, If you use var attribute; c:forEach/ tries to assign the
 current element of the iteration over a collection to a variable with
 that name. If you don't have any collection specified by the attribute
 items then nothing is set to the var attribute; in other words a
 variable with that name doesn't exist. If you wanted to see the loop
 counter you could use
 
 c:forEach begin=1 end=5 varStatus=current
   c:out value=${current} /
 /c:forEach
 
  I can't figure out what seems to be the problem. Please help.
 
  TIA,
  Vamsee.
 
  -
  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]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
--

You can lead a horse to water but you cannot make it float on its back.

~Dakota Jack~

You can't wake a person who is pretending to be asleep.

~Native Proverb~

Each man is good in His sight. It is not necessary for eagles to be crows.

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

---

This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based
on this message or any information herein. If you have received this
message in error, please advise the sender immediately by reply e-mail
and delete this message. Thank you for your cooperation.

-
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]



Re: Unable to see c:forEach out put

2005-01-12 Thread Vamsee Kanakala
Rick Reumann wrote:
It sounds like you are probably are now using a JSP2.0 container like 
Tomcat5 and are refering to the wrong tld. Refer to the one in the jar 
like:

%@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core%
and remove and direct pointing to the tlds you have.
Yes, I am using Tomcat 5.0.28. I then downloaded beanutils from the 
jakarta site, replaced the jstl.jar and standard.jar, and pointed to 
taglibs like you said above. I have strange problem - I am able to use 
c:forEach etc., but the var is not getting set. If I give something 
like this:

c:forEach begin=1 end=5 var=current
 c:out value=${current} /
/c:forEach
I get something like this:
${current} ${current} ${current} ${current} ${current}
I can't figure out what seems to be the problem. Please help.
TIA,
Vamsee.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Unable to see c:forEach out put

2005-01-12 Thread Dakota Jack
Hi, Vamsee,

Don't you have to define what items are covered by your var?

Jack

snip
On Wed, 12 Jan 2005 13:52:32 +0530, Vamsee Kanakala
[EMAIL PROTECTED] wrote:
 
 c:forEach begin=1 end=5 var=current
   c:out value=${current} /
 /c:forEach
 
 I get something like this:
 
 ${current} ${current} ${current} ${current} ${current}
 
/snip

-- 
--

You can lead a horse to water but you cannot make it float on its back.

~Dakota Jack~

You can't wake a person who is pretending to be asleep.

~Native Proverb~

Each man is good in His sight. It is not necessary for eagles to be crows.

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

---

This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based
on this message or any information herein. If you have received this
message in error, please advise the sender immediately by reply e-mail
and delete this message. Thank you for your cooperation.

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



Re: Unable to see c:forEach out put

2005-01-12 Thread Vamsee Kanakala
Dakota Jack wrote:
Don't you have to define what items are covered by your var?
 

Sorry if I sound daft, but I do I have to do that? Where do I do that?
TIA,
-Vamsee.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Unable to see c:forEach out put

2005-01-12 Thread Dakota Jack
I guess I am daft.  Must have been off last night.  You don't have
to when your beginning and end values are the basis for an iteration. 
What do you mean that you get something like this?  Is it that or
not?

Jack


On Wed, 12 Jan 2005 17:24:03 +0530, Vamsee Kanakala
[EMAIL PROTECTED] wrote:
 Dakota Jack wrote:
 
 Don't you have to define what items are covered by your var?
 
 
 Sorry if I sound daft, but I do I have to do that? Where do I do that?
 
 TIA,
 -Vamsee.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
--

You can lead a horse to water but you cannot make it float on its back.

~Dakota Jack~

You can't wake a person who is pretending to be asleep.

~Native Proverb~

Each man is good in His sight. It is not necessary for eagles to be crows.

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

---

This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based
on this message or any information herein. If you have received this
message in error, please advise the sender immediately by reply e-mail
and delete this message. Thank you for your cooperation.

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



Re: Unable to see c:forEach out put

2005-01-12 Thread Kishore Senji
On Wed, 12 Jan 2005 13:52:32 +0530, Vamsee Kanakala
[EMAIL PROTECTED] wrote:
 Rick Reumann wrote:
 
  It sounds like you are probably are now using a JSP2.0 container like
  Tomcat5 and are refering to the wrong tld. Refer to the one in the jar
  like:
 
  %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core%
 
  and remove and direct pointing to the tlds you have.
 
 Yes, I am using Tomcat 5.0.28. I then downloaded beanutils from the
 jakarta site, replaced the jstl.jar and standard.jar, and pointed to
 taglibs like you said above. I have strange problem - I am able to use
 c:forEach etc., but the var is not getting set. If I give something
 like this:
 
 c:forEach begin=1 end=5 var=current
  c:out value=${current} /
 /c:forEach
 
 I get something like this:
 
 ${current} ${current} ${current} ${current} ${current}


Well, If you use var attribute; c:forEach/ tries to assign the
current element of the iteration over a collection to a variable with
that name. If you don't have any collection specified by the attribute
items then nothing is set to the var attribute; in other words a
variable with that name doesn't exist. If you wanted to see the loop
counter you could use

c:forEach begin=1 end=5 varStatus=current
  c:out value=${current} /
/c:forEach
 
 I can't figure out what seems to be the problem. Please help.
 
 TIA,
 Vamsee.
 
 -
 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]



RE: Unable to see c:forEach out put

2005-01-12 Thread Abdullah Jibaly
Actually I think it's ${current.count}

-Original Message-
From: Kishore Senji [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 12, 2005 12:37 PM
To: Struts Users Mailing List
Subject: Re: Unable to see c:forEach out put


On Wed, 12 Jan 2005 13:52:32 +0530, Vamsee Kanakala
[EMAIL PROTECTED] wrote:
 Rick Reumann wrote:
 
  It sounds like you are probably are now using a JSP2.0 container like
  Tomcat5 and are refering to the wrong tld. Refer to the one in the jar
  like:
 
  %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core%
 
  and remove and direct pointing to the tlds you have.
 
 Yes, I am using Tomcat 5.0.28. I then downloaded beanutils from the
 jakarta site, replaced the jstl.jar and standard.jar, and pointed to
 taglibs like you said above. I have strange problem - I am able to use
 c:forEach etc., but the var is not getting set. If I give something
 like this:
 
 c:forEach begin=1 end=5 var=current
  c:out value=${current} /
 /c:forEach
 
 I get something like this:
 
 ${current} ${current} ${current} ${current} ${current}


Well, If you use var attribute; c:forEach/ tries to assign the
current element of the iteration over a collection to a variable with
that name. If you don't have any collection specified by the attribute
items then nothing is set to the var attribute; in other words a
variable with that name doesn't exist. If you wanted to see the loop
counter you could use

c:forEach begin=1 end=5 varStatus=current
  c:out value=${current} /
/c:forEach
 
 I can't figure out what seems to be the problem. Please help.
 
 TIA,
 Vamsee.
 
 -
 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]


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



Re: Unable to see c:forEach out put

2005-01-12 Thread Dakota Jack
I used:

td align=left
font color='red'
  c:forEach begin=1 end=5 var=current
c:out value=${current} /
  /c:forEach
/font
/td

And this worked fine, gave me:  1 2 3 4 5 in red.

Jack


On Wed, 12 Jan 2005 12:52:59 -0600, Abdullah Jibaly
[EMAIL PROTECTED] wrote:
 Actually I think it's ${current.count}
 
 -Original Message-
 From: Kishore Senji [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, January 12, 2005 12:37 PM
 To: Struts Users Mailing List
 Subject: Re: Unable to see c:forEach out put
 
 On Wed, 12 Jan 2005 13:52:32 +0530, Vamsee Kanakala
 [EMAIL PROTECTED] wrote:
  Rick Reumann wrote:
 
   It sounds like you are probably are now using a JSP2.0 container like
   Tomcat5 and are refering to the wrong tld. Refer to the one in the jar
   like:
  
   %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core%
  
   and remove and direct pointing to the tlds you have.
 
  Yes, I am using Tomcat 5.0.28. I then downloaded beanutils from the
  jakarta site, replaced the jstl.jar and standard.jar, and pointed to
  taglibs like you said above. I have strange problem - I am able to use
  c:forEach etc., but the var is not getting set. If I give something
  like this:
 
  c:forEach begin=1 end=5 var=current
   c:out value=${current} /
  /c:forEach
 
  I get something like this:
 
  ${current} ${current} ${current} ${current} ${current}
 
 
 Well, If you use var attribute; c:forEach/ tries to assign the
 current element of the iteration over a collection to a variable with
 that name. If you don't have any collection specified by the attribute
 items then nothing is set to the var attribute; in other words a
 variable with that name doesn't exist. If you wanted to see the loop
 counter you could use
 
 c:forEach begin=1 end=5 varStatus=current
   c:out value=${current} /
 /c:forEach
 
  I can't figure out what seems to be the problem. Please help.
 
  TIA,
  Vamsee.
 
  -
  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]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
--

You can lead a horse to water but you cannot make it float on its back.

~Dakota Jack~

You can't wake a person who is pretending to be asleep.

~Native Proverb~

Each man is good in His sight. It is not necessary for eagles to be crows.

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

---

This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based
on this message or any information herein. If you have received this
message in error, please advise the sender immediately by reply e-mail
and delete this message. Thank you for your cooperation.

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



Re: Unable to see c:forEach out put

2005-01-12 Thread Dakota Jack
I had 
%@ taglib uri='jstl-core'  prefix='c' %
on the page and


  !--
  JSTL CORE EL
  =--
  taglib
taglib-urijstl-core/taglib-uri
taglib-location/WEB-INF/resource/tld/c.tld/taglib-location
  /taglib

in web.xml.

Jack


On Wed, 12 Jan 2005 15:23:01 -0800, Dakota Jack [EMAIL PROTECTED] wrote:
 I used:
 
 td align=left
 font color='red'
   c:forEach begin=1 end=5 var=current
 c:out value=${current} /
   /c:forEach
 /font
 /td
 
 And this worked fine, gave me:  1 2 3 4 5 in red.
 
 Jack
 
 
 On Wed, 12 Jan 2005 12:52:59 -0600, Abdullah Jibaly
 [EMAIL PROTECTED] wrote:
  Actually I think it's ${current.count}
 
  -Original Message-
  From: Kishore Senji [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, January 12, 2005 12:37 PM
  To: Struts Users Mailing List
  Subject: Re: Unable to see c:forEach out put
 
  On Wed, 12 Jan 2005 13:52:32 +0530, Vamsee Kanakala
  [EMAIL PROTECTED] wrote:
   Rick Reumann wrote:
  
It sounds like you are probably are now using a JSP2.0 container like
Tomcat5 and are refering to the wrong tld. Refer to the one in the jar
like:
   
%@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core%
   
and remove and direct pointing to the tlds you have.
  
   Yes, I am using Tomcat 5.0.28. I then downloaded beanutils from the
   jakarta site, replaced the jstl.jar and standard.jar, and pointed to
   taglibs like you said above. I have strange problem - I am able to use
   c:forEach etc., but the var is not getting set. If I give something
   like this:
  
   c:forEach begin=1 end=5 var=current
c:out value=${current} /
   /c:forEach
  
   I get something like this:
  
   ${current} ${current} ${current} ${current} ${current}
  
 
  Well, If you use var attribute; c:forEach/ tries to assign the
  current element of the iteration over a collection to a variable with
  that name. If you don't have any collection specified by the attribute
  items then nothing is set to the var attribute; in other words a
  variable with that name doesn't exist. If you wanted to see the loop
  counter you could use
 
  c:forEach begin=1 end=5 varStatus=current
c:out value=${current} /
  /c:forEach
 
   I can't figure out what seems to be the problem. Please help.
  
   TIA,
   Vamsee.
  
   -
   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]
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 --
 --
 
 You can lead a horse to water but you cannot make it float on its back.
 
 ~Dakota Jack~
 
 You can't wake a person who is pretending to be asleep.
 
 ~Native Proverb~
 
 Each man is good in His sight. It is not necessary for eagles to be crows.
 
 ~Hunkesni (Sitting Bull), Hunkpapa Sioux~
 
 ---
 
 This message may contain confidential and/or privileged information.
 If you are not the addressee or authorized to receive this for the
 addressee, you must not use, copy, disclose, or take any action based
 on this message or any information herein. If you have received this
 message in error, please advise the sender immediately by reply e-mail
 and delete this message. Thank you for your cooperation.
 


-- 
--

You can lead a horse to water but you cannot make it float on its back.

~Dakota Jack~

You can't wake a person who is pretending to be asleep.

~Native Proverb~

Each man is good in His sight. It is not necessary for eagles to be crows.

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

---

This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based
on this message or any information herein. If you have received this
message in error, please advise the sender immediately by reply e-mail
and delete this message. Thank you for your cooperation.

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



Re: Unable to see c:forEach out put

2005-01-12 Thread Kishore Senji
By taking a peek at the source, I found that they do make an ArrayList
which contains Integers from begin to end. So the acutal problem
for not showing those values on the page is something else and I guess
,by looking at the first posting, you are using the runtime version of
the jstl core library.

The runtime version doesn't evaluate expressions. So, make sure your
point to the expression tld one or try this:

c:forEach begin=1 end=5 var=current
  c:out value='%=(String)pageContext.getAttribute(current)%'/
/c:forEach


On Wed, 12 Jan 2005 15:25:03 -0800, Dakota Jack [EMAIL PROTECTED] wrote:
 I had
 %@ taglib uri='jstl-core'  prefix='c' %
 on the page and
 
  !--
  JSTL CORE EL
  =--
  taglib
taglib-urijstl-core/taglib-uri
taglib-location/WEB-INF/resource/tld/c.tld/taglib-location
  /taglib
 
 in web.xml.
 
 Jack
 
 On Wed, 12 Jan 2005 15:23:01 -0800, Dakota Jack [EMAIL PROTECTED] wrote:
  I used:
 
  td align=left
  font color='red'
c:forEach begin=1 end=5 var=current
  c:out value=${current} /
/c:forEach
  /font
  /td
 
  And this worked fine, gave me:  1 2 3 4 5 in red.
 
  Jack
 
 
  On Wed, 12 Jan 2005 12:52:59 -0600, Abdullah Jibaly
  [EMAIL PROTECTED] wrote:
   Actually I think it's ${current.count}
  
   -Original Message-
   From: Kishore Senji [mailto:[EMAIL PROTECTED]
   Sent: Wednesday, January 12, 2005 12:37 PM
   To: Struts Users Mailing List
   Subject: Re: Unable to see c:forEach out put
  
   On Wed, 12 Jan 2005 13:52:32 +0530, Vamsee Kanakala
   [EMAIL PROTECTED] wrote:
Rick Reumann wrote:
   
 It sounds like you are probably are now using a JSP2.0 container like
 Tomcat5 and are refering to the wrong tld. Refer to the one in the jar
 like:

 %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core%

 and remove and direct pointing to the tlds you have.
   
Yes, I am using Tomcat 5.0.28. I then downloaded beanutils from the
jakarta site, replaced the jstl.jar and standard.jar, and pointed to
taglibs like you said above. I have strange problem - I am able to use
c:forEach etc., but the var is not getting set. If I give something
like this:
   
c:forEach begin=1 end=5 var=current
 c:out value=${current} /
/c:forEach
   
I get something like this:
   
${current} ${current} ${current} ${current} ${current}
   
  
   Well, If you use var attribute; c:forEach/ tries to assign the
   current element of the iteration over a collection to a variable with
   that name. If you don't have any collection specified by the attribute
   items then nothing is set to the var attribute; in other words a
   variable with that name doesn't exist. If you wanted to see the loop
   counter you could use
  
   c:forEach begin=1 end=5 varStatus=current
 c:out value=${current} /
   /c:forEach
  
I can't figure out what seems to be the problem. Please help.
   
TIA,
Vamsee.
   
-
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]
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
  --
  --
 
  You can lead a horse to water but you cannot make it float on its back.
 
  ~Dakota Jack~
 
  You can't wake a person who is pretending to be asleep.
 
  ~Native Proverb~
 
  Each man is good in His sight. It is not necessary for eagles to be crows.
 
  ~Hunkesni (Sitting Bull), Hunkpapa Sioux~
 
  ---
 
  This message may contain confidential and/or privileged information.
  If you are not the addressee or authorized to receive this for the
  addressee, you must not use, copy, disclose, or take any action based
  on this message or any information herein. If you have received this
  message in error, please advise the sender immediately by reply e-mail
  and delete this message. Thank you for your cooperation.
 
 
 --
 --
 
 You can lead a horse to water but you cannot make it float on its back.
 
 ~Dakota Jack~
 
 You can't wake a person who is pretending to be asleep.
 
 ~Native Proverb~
 
 Each man is good in His sight. It is not necessary for eagles to be crows.
 
 ~Hunkesni (Sitting Bull), Hunkpapa Sioux~
 
 ---
 
 This message may contain confidential and/or privileged information.
 If you are not the addressee or authorized to receive

Re: Unable to see c:forEach out put

2005-01-12 Thread Vamsee Kanakala
Vamsee Kanakala wrote:
I have a code fragment like this:
td align=left
  c:forEach items=${statusList} var=current
c:out value=${current.name}/
   /c:forEach   /td
Thanks guys... I solved it. Seems like it's an issue with the Tomcat 5, 
which supports JSP2.0, and I have to make changes to web.xml to enable 
EL. These posts on tomcat-user list have helped me:

http://www.mail-archive.com/taglibs-user@jakarta.apache.org/msg07569.html
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg123308.html
Thanks a lot! If only I could solve the Javascript gibberish problem I 
posted on the list... Nobody seems to have faced this before :(

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


Unable to see c:forEach out put

2005-01-11 Thread Vamsee Kanakala
Hi List,
I have a code fragment like this:
td align=left
  c:forEach items=${statusList} var=current
c:out value=${current.name}/
   /c:forEach   
/td

Where statusList is a list of class instances, which has a setters and 
getters for properties id and name. Now, if I give the above code, I 
should be able to print out the names in each instance, right? But I am 
not able to. Please help. And, my Lomboz plugin auto-compiles my jsp and 
says:

According to tld, Attribute items does not accept any expressions
But I'm using c.tld. I don't know what I'm doing wrong. Please help.
-VK
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]