tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Agrawal, Anuj (Anuj)** CTR **" <agra...@lucent.com>
Subject multiple conditions for an IF statement
Date Sat, 09 Mar 2002 18:35:40 GMT
I'd like to use the JSTL <c:if test=""> (or <c:when test="">)action, but the
test i'd like to perform is not a single conditional statement.

For example, i want to do:

<%
	if (x==0 && y==4) {
		// do something
	}
%>

I was able to do:
<c:if test="$x == 0">
something happens here
</c:if>

but not:
<c:if test="$x==0 && $y==4">
something happens here
</c:if>

I tried variations of this, but no dice. 8(
Anybody?

--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message