Actually, you don't have to use struts-el for this, your "c:if" expression should work, but you might try changing the ">" and "<" to "lt" and "gt".
> -----Original Message----- > From: Mohan Radhakrishnan [mailto:MohanR@;hclcomnet.co.in] > Sent: Thursday, November 14, 2002 1:38 AM > To: 'Struts Users Mailing List' > Subject: logic-match/compare multiple values > > > Hi, > > We need to match a report ID from one of the scopes with a set of > integers. Now logic-match example compares with single values. > Do I have to use struts-el for this ? Are there examples > of logic-match > to do this ? > > The JSTL code that doesn't seem to work is > > <c:if test= "${sessionScope.reportBean.reportID > 39 and > sessionScope.reportBean.reportID < 60}"> > </c:if> > > reportBean is the variable name put in one of the scopes. > reportID has a matching getter method. > Thanks, > Mohan > > -- > To unsubscribe, e-mail: > <mailto:struts-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>