In output it is displayed as true. So i want to know that what is the formula of type conversion for String to Boolean . Because not operator can only be applied to boolean values. so how this String value converted to Boolean value?
The JSTL rules to coerce something to a boolean value Coerce A to Boolean - If A is null or "", return false - Otherwise, if A is Boolean, return A - Otherwise, if A is String, and Boolean.valueOf(A) throws exception, error. - Otherwise. if A is String return Boolean.valueOf(A) - Otherwise, error