Try...

Add this to your jsp...
<%@ taglib prefix = "fn" uri = "http://java.sun.com/jsp/jstl/functions"; %>

Then...
<c:if test = '${fn:toUpperCase(restaurant.filterValue) eq
fn:toUpperCase(param.value) }'>


Quoting Jack Lauman <[EMAIL PROTECTED]>:

>> I am using the following line of code to test strings for equailty.
>> In most cases I'm just trying to compare a city name in an array to
>> user input for the name of a city i.e. Seattle.
>>
>> <c:if test="${restaurant.filterValue eq param.value}">
>>
>> If the user enters seattle instead of Seattle I don't get a response.
>> Is there a way to alter this statement to make it "case insensitive"?
>> Is there a way to alter it to respond like a SQL %LIKE% query?
>>
>> Thanks,
>>
>> Jack
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>


David Schwartz

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

Reply via email to