<c:choose> is what you're looking for: http://prideafrica.blogspot.com/2006/12/jstl-tag_6452.html
On Sat, May 9, 2009 at 12:37 AM, foward <fow...@gmail.com> wrote: > > Hello everyone, > > I have one question: how can i get the If - else sentences with <c: tag> ? > I ask that because when I try to do, for example : > > <c:if test="${form.id ==0 && form.id ==3}"> > do something > <c:if/> > <c:else ...... dosnt exist , and I cannot evaluate expressions like && or > || > and the else tag for several evaluations ...when I change to <s: tag it has > if and else but it doesnt evaluate correctly. I hope that you can have a > help for me since I m new on this. Thank you in advance! > -- > View this message in context: > http://www.nabble.com/If---else-sentences-%3Cc%3A-tag-tp23457756s2369p23457756.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net > For additional commands, e-mail: users-h...@appfuse.dev.java.net > >