http://stackoverflow.com/questions/1533662/testing-a-string-is-null
I had this problem(see the link), where I was sure that a String is null, but in fact the String was "null"
jcasso told me:
Since you get the string from a servlet i can say that this is normal.
Java converts a null string to a "null" string on some conditions.
When this situations appear?