Nguyen Hoang

Greenhorn
+ Follow
since Mar 24, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Nguyen Hoang

I got the point!
null will be consider as "0" or "false".
I got a question:

Given Servlet code:

String num = "2";
request.setAttribute("num", num);
Interger i = new Interger(3);
request.setAttribute("integer", i);

What prints for this expression:
${requestScope[interger] ne 4 and 6 le num || false}

The answer is "false".

But I think that requestScope[integer] will return "null" because there is no request attribute "3" ("3" is the value of integer attribute). So, relational operator can work with null value?
I think that.
out.println() is method of JspWriter.
out.write() is method of java.io.Writer.

So, you can not use "write" method to write primary type (exp boolean) that "print" can do.
Congratulation.

Where did you lose your last 6 point? Please share your experience on those questions.
16 years ago
Great score!

Congratulation ..........