Not exactly the same, since I have use of a list but here's how I handled
it in JSTL...
<c:forEach items="${sessionScope.auditorList}" var="auditor"
varStatus="status">
<c:if test="${!status.last}">
<c:out value="${auditor.name}"/>, 
</c:if>
<c:if test="${status.last}">
<c:out value="${auditor.name}"/>
</c:if>
</c:forEach>
Bart
<[EMAIL PROTECTED]> wrote on 01/14/2005 02:04:07 PM:
> I have the following code that prints something like this:
> BLN, BCard, SecCard, EquipExp
>
> There may be any combination of any of these 4 items, or non at all.
> And what I want is the ability to properly add commas after each
> item, or not print a comma if there is not an item:
>
> <logic:equal name="creditApplicationListDto" property="businessLine"
> value="true">
> <bean:message key="label.bln"/> ,
> </logic:equal>
> <logic:equal name="creditApplicationListDto" property="businessCard"
> value="true">
> <bean:message key="label.bcard"/> ,
> </logic:equal>
> <logic:equal name="creditApplicationListDto" property="securedCard"
> value="true">
> <bean:message key="label.seccard"/> ,
> </logic:equal>
> <logic:equal name="creditApplicationListDto"
> property="equipmentExpress" value="true">
> <bean:message key="label.equipExpress"/>
> </logic:equal>
>
>
> --------------------
> Mick Knutson
> Wells Fargo Business Direct Information Systems
> (415) 222-1020
>
> "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]