> I am visiting a web page (via URLConnection) which is supposed to spit
> out four cookies. Using the standard:
> String cookie = conn.getHeaderField("Set-Cookie");
> only gives me the last cookie in the header. I know I can manually
> parse the header to extract multiple cookies, but does java (1.4.2)
> provide for an easier way?
use getHeaderFields to get a map that gives you a list of fields for
each header.
The API documentation is your friend. =P

Signature
Of making better designs there is no end,
and much refactoring wearies the body.