Problem #1 is that, while you change the local reference variable "stringSearch", you don't actually change the page-scoped attribute of the same name (as in JspContext.setAttribute(.., PAGE_SCOPE)). Hence the JSTL cannot see your change and will see an empty
String.
Problem number two is probably that the JSTL EL does not have an operator "&&". Replace it by "and". The up-and-coming JSP 2.0 will support "&&", though; a boon for Java geeks
In any case, this is not very idiomatic; I would suggest you replace the code by something like
If you really want the stringSearch variable, use
By the way, in JSP 2.0 you'd simply say
HTH
- Peter
[ February 19, 2003: Message edited by: Peter den Haan ]