Its been too long since I've used JSP, but I'm quite sure ops are the same. & is a bit operator, not a logical operator, and in typical java it should throw a compilation error since you cannot cast from int to boolean. Change those from & to &&.
Oh and use .equals. Strings are immutable, so while "a" == "a", "a" != new String("a"). Using .equals will always compare the value instead.