Originally posted by Sverre Moe:
I was unaware that I could have boolean logic within a html tag like that without c:if, c:choose/c:when.
Just so it's clear, that logic isn't being done by the HTML interpreter (which is on the client's machine). The ${} tag is a
JSP Expression Language (EL) expression and is performed on the server. If you look at the generated HTML source, you'll only see the resulting class names, not the expression itself.
There is a copy of the JSP spec in my signature.
It shouldn't take more than 20 minutes to skim the whole thing.
This will give you a good idea of what JSP 2.0 has to offer.
[ February 19, 2008: Message edited by: Ben Souther ]