struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From VenkatBabu <>
Subject How to pass dynamic value to the logic:equal tag?
Date Fri, 06 Jun 2008 16:26:04 GMT

I am new to this forum...forgive me if the question that i am going to raise
is already present. I dont have time to go through all the messages which
have been raised already.

The problem is: 
I have <logic:iterate id="ID1" name="formbeanname" property="VectorInBean"
<logic:equal name="ID1" property="index" value="Dynamic Value from the

logic:equal tag's value attribute shoud get populated by a value from the
bean(i am storing the size of the vector in bean) which is used in the
logic:iterate. I dont want to use scriptlets.

Actually the problem is the Vector in the bean has list of strings which
needs to be shown in the JSP one by one sepeared by "commas(,)" and we need
to add "and" before the last string from the vector. So i need to check it
dynamically whether the vector is reached the last but one.

I need to solve this issue as soon as possible. Any help would be very

View this message in context:
Sent from the Struts - Dev mailing list archive at

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

View raw message