JSTL - c:if test Question

2005-01-11 Thread Jack Lauman
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

Re: JSTL - c:if test Question

2005-01-11 Thread Jack Lauman
David: Thanks for your prompt reply. Your sugestion was a good idea, but I found that the following actually worked the way I wanted it to: c:if test=${fn:containsIgnoreCase(restaurant.filterValue, param.value)} Thanks, Jack David Schwartz wrote: Try... Add this to your jsp... %@ taglib prefix