At my company, we write a lot of spiders in Java. We are very happy
with Jakarta Commons HttpClient:
http://hc.apache.org/httpclient-3.x/
The support for retrieving browser cookies is well documented here:
http://hc.apache.org/httpclient-3.x/cookies.html
Although I have never looked at it myself, there is CookieDemoApp
checked into the code samples section of the project too:
http://svn.apache.org/viewvc/httpcomponents/oac.hc3x/trunk/src/examples/
Cheers, Van
--
| Michael "Van" Riper
| http://weblogs.java.net/blog/van_riper/
| http://www.linkedin.com/in/vanriper
----
| Silicon Valley Web JUG
| mailto:van_...@dev.java.net
| https://sv-web-jug.dev.java.net
----
| Silicon Valley Google Technology User Group
| mailto:van....@gmail.com
| http://sv-gtug.org
On Fri, Feb 6, 2009 at 1:15 PM, carljmosca <carlj...@gmail.com> wrote:
> Does anyone know of a library which will let me examine a browser's
> cookies? I think it goes w/o saying I am wanting to do this in a
> platform independent manner. :)
It should NOT be possible to examine browser cookies from an applet.
It would be a serious security issue. There is no other
platform-independent relation with the browser AFAIK.
So, I believe you can only tap onto the filesystem and work on a per
os, per browser, per version, per profile fashion.
Quite a problem I say.
regards
--
Marcelo Morales