posted 15 years ago
hi,
can anybody explain me the answer of following question:
<%request.setAttribute("Two","2");
Integer One = new Integer(1);%>
${One + 1}
${Two}
${Two + 1}
the answer in mock given is 123.
i think ${One + 1} will output '2' becoz the value of One variable is coerced and added to numeral 1.
pls correct me if wrong!!
thanks