If I create 2 web clients in different streams, how do I get them to use the same cookies?
You can use the code below:
CookieManager cookieManager = new CookieManager(); webClient1.setCookieManager(cookieManager); webClient2.setCookieManager(cookieManager);