Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #21292
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.straub-nv.de!newsout01.versatel.de!newsin01.versatel.de!news.osn.de!diablo2.news.osn.de!ecngs!feeder.ecngs.de!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail |
|---|---|
| NNTP-Posting-Date | Thu, 10 Jan 2013 02:46:24 -0600 |
| Date | Thu, 10 Jan 2013 08:46:24 +0000 |
| From | lipska the kat <"nospam at neversurrender dot co dot uk"> |
| Organization | Trollbusters 3 |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120410 Thunderbird/11.0.1 |
| MIME-Version | 1.0 |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Web browser in java |
| References | <79904e78-2885-4a7f-a3e2-f260ffb6063a@googlegroups.com> <50ecc3a6$0$293$14726298@news.sunsite.dk> <dq-dnQyWMeIBqXDNnZ2dnUVZ7qGdnZ2d@bt.com> <50ee2597$0$287$14726298@news.sunsite.dk> |
| In-Reply-To | <50ee2597$0$287$14726298@news.sunsite.dk> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Message-ID | <J8mdnU6dDtd94nPNnZ2dnUVZ8l-dnZ2d@bt.com> (permalink) |
| Lines | 39 |
| X-Usenet-Provider | http://www.giganews.com |
| X-AuthenticatedUsername | NoAuthUser |
| X-Trace | sv3-ZiHzcuD2f+dCjSEqLR2czvD9LG7TVjAuTqpcm7gFgjCErq6uqdEKuWKFD9Ju7PVqltmHrkXcE9IHPj0!3kN6yyZfTNKhzkJGm+7xq8EKX58VBkTfiazzBHfNCznsi4mH9z+rhas1n8b10/4gFT8iPwH0G24= |
| X-Complaints-To | abuse@btinternet.com |
| X-DMCA-Complaints-To | abuse@btinternet.com |
| X-Abuse-and-DMCA-Info | Please be sure to forward a copy of ALL headers |
| X-Abuse-and-DMCA-Info | Otherwise we will be unable to process your complaint properly |
| X-Postfilter | 1.3.40 |
| X-Original-Bytes | 2813 |
| Xref | csiph.com comp.lang.java.programmer:21292 |
Show key headers only | View raw
On 10/01/13 02:21, Arne Vajhøj wrote: > On 1/9/2013 4:12 AM, lipska the kat wrote: >> On 09/01/13 01:10, Arne Vajhøj wrote: >>> On 1/8/2013 7:19 AM, Roma Asnani wrote: >>>> Want to create a web browser but unable to handle cookies can any one >>>> help? >>>> I get some source from this link >>>> http://www.apl.jhu.edu/~hall/java/Swing-Tutorial/Swing-Tutorial-JEditorPane.html [snip] > Given that the page used as starting point does > not mention the word cookies and the code does > not use any network code it all (it just use > the setPage method with an URL), then that is not > very likely. Really, hmm... the clue is in the question isn't it "but it display a simple browser but has no cookies or session handling" This implies to me that the OP was confused as to the allocation of responsibility between the browser/client and the server when it comes to the implementation of a stateful interaction over a stateless protocol. Understanding the session cookie handling mechanism would inform the user of his misapprehension rather better than employing HttpClient which ... and I quote the documentation here [features] Automatic Cookie handling for reading Set-Cookie: headers from the server and sending them back out in a Cookie: header when appropriate. Or maybe you disagree. lipska -- Lipska the Kat©: Troll hunter, sandbox destroyer and farscape dreamer of Aeryn Sun
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Web browser in java Roma Asnani <romaasnani@gmail.com> - 2013-01-08 04:19 -0800
Re: Web browser in java lipska the kat <lipskathekat@yahoo.co.uk> - 2013-01-08 13:10 +0000
Re: Web browser in java Arne Vajhøj <arne@vajhoej.dk> - 2013-01-09 21:31 -0500
Re: Web browser in java lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-01-10 09:57 +0000
Re: Web browser in java Arne Vajhøj <arne@vajhoej.dk> - 2013-01-08 20:10 -0500
Re: Web browser in java lipska the kat <lipskathekat@yahoo.co.uk> - 2013-01-09 09:12 +0000
Re: Web browser in java Arne Vajhøj <arne@vajhoej.dk> - 2013-01-09 21:21 -0500
Re: Web browser in java lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-01-10 08:46 +0000
Re: Web browser in java Roedy Green <see_website@mindprod.com.invalid> - 2013-01-09 11:20 -0800
csiph-web