EL: compare two character variable problem
Hi,
I have a java bean class.
publicclass Student{
publicchar getSex(){...}
}
EL:
${requestScope.st.sex =='M'}
throws an exception about converting String to Long
How do I treat 'M' as a char not a String?
Hi,
I have a java bean class.
publicclass Student{
publicchar getSex(){...}
}
EL:
${requestScope.st.sex =='M'}
throws an exception about converting String to Long
How do I treat 'M' as a char not a String?