A
andychambers2002
Hi
I want to create the jsp equivalent of the following bash snippet...
CURRENT=b
for i in a b c d
do
if [[ $i == $CURRENT ]] then
echo "<li><a href='/path/to/i' class='current'>$i></a>"
else
echo "<li><a href='/path/to/i'>$i></a>"
done
Is there a simple way of doing this?
Regards,
Andy
I want to create the jsp equivalent of the following bash snippet...
CURRENT=b
for i in a b c d
do
if [[ $i == $CURRENT ]] then
echo "<li><a href='/path/to/i' class='current'>$i></a>"
else
echo "<li><a href='/path/to/i'>$i></a>"
done
Is there a simple way of doing this?
Regards,
Andy