On Fri, 15 Mar 2002, John Baker wrote:

> Does <c:if support else?
> 
> ie if (x) something(); else somethingElse(); or do I have to use
> c:choose?

You need to use <c:choose>.  This comes about for somewhat intricate
technical reasons, and is never a unanimously popular choice, but it was
considered to be both the safest and the most general.

--
Shawn Bayern
Author, "JSP Standard Tag Library"  http://www.jstlbook.com
(coming this summer from Manning Publications)


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

Reply via email to