I\'m a .NET developer starting to dabble in Java.
In .NET, I can set the value of a cookie to a string with white space in it: new HttpCookie(\"myCookieName\"
new HttpCookie(\"myCookieName\"
It probably has to do with the way Java encodes the cookie. I suggest you try calling setVersion(1) on the new cookie and see if that works for you.