Using struts tags how should I prevent the comma from printing after
the last <bean:write> statement? Normally I start a counter through
the loop and just don't display the "," on the first pass and then on
subsequent passed I would do "  , <%= b.getStateName() %> ". How
should I incorporate this using the iterate tag like I am below:

States:
 <logic:iterate id="element" name="statesSearched">
    <bean:write name="element" />, 
</logic:iterate>  

Thanks

-- 

Rick
mailto:[EMAIL PROTECTED]

"Perhaps, if I am very lucky, the feeble efforts of my lifetime will
someday be noticed, and maybe, in some small way, they will be
acknowledged as the greatest works of genius ever created by Man." 
  -Jack Handey


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

Reply via email to