Originally posted by Amod Mulay:
HOw to compare a String (JAVA)in jsp with a var in javascript. the var value will be from a field and the comparision should not be case sensitive.....can anyone help me out here
You can compare javascript variable with java string but reverse is not possible in JSP.
In javscript convery the variable to upper case and compare. You can use value.toUpperCase() to convert a variable to upper case in Javascript.