As, I think every programming language compares an int and a charon behave of ASCII value of char
I am new to java-Expression-Language. Now here, I have created a .jsp file in NETBEANS 5.5.1
CODE:
<%=('1' > 2)?"true":"false"%> //true
${('1' > 2)?"true":"false"} //false
What is difference in these expressions?
EL has no notion of
char. It’s been treated asString. Single or double quotes, it doesn’t matter, it’s aString.More detail about EL can be found in EL 2.2 specification.