Article View: be.comp.programming
Article #3506Re: [java] lezen van http server
From: TRAX
Date: Fri, 26 Dec 2003 14:39
Date: Fri, 26 Dec 2003 14:39
66 lines
3423 bytes
3423 bytes
Thanks, ik had niet gezien dat dat uit mijn body wegmoest :)
Toch krijg ik nog een ander resultaat op www.google.be
<html><head><meta http-equiv="content-type" content="text/html;
charset=ISO-8859
-1"><title>Google</title><style><!--
body,td,a,p,.h{font-family:arial,sans-serif;}
.h{font-size: 20px;}
.q{color:#0000cc;text-decoration: none;}
//-->
</style>
<script>
<!--
function sf(){document.f.q.focus();}
// -->
</script>
</head><body bgcolor=#ffffff text=#000000 link=#0000cc vlink=#551a8b
alink=#ff00
00 onLoad=sf()><center><a href="/doodle7.html"><img
src="logos/winter_holiday_03
_oh.gif" width=296 height=110 border=0 alt="Happy Holidays from Google"
title="H
appy Holidays from Google"></a><br><br><table border=0 cellspacing=0
cellpadding
=0><tr><td width=15> </td><td id=0 bgcolor=#3366cc align=center
width=120 n
owrap><font color=#ffffff size=-1><b>Het Internet</b></font></td><td
width=
15> </td><td id=1 bgcolor=#efefef align=center width=120 nowrap
onClick=""
style=cursor:pointer;cursor:hand;><a id=1a class=q
href="/imghp?hl=nl&tab=wi&ie=
UTF-8"><font size=-1>Afbeeldingen</font></a></td><td width=15> </td><td
id=
2 bgcolor=#efefef align=center width=120 nowrap onClick=""
style=cursor:pointer;
cursor:hand;><a id=2a class=q href="/grphp?hl=nl&tab=wg&ie=UTF-8"><font
size=-1>
Discussiegroepen</font></a></td><td width=15> </td><td id=3
bgcolor=#efefef
align=center width=120 nowrap onClick=""
style=cursor:pointer;cursor:hand;><a i
d=3a class=q href="/dirhp?hl=nl&tab=wd&ie=UTF-8"><font
size=-1>Gids</font></a></
td><td width=15> </td></tr><tr><td colspan=10 bgcolor=#3366cc><img
width=1
height=1 alt=""></td></tr></table><br><form action="/search" name=f><span
id=hf>
</span><table cellspacing=0 cellpadding=0><tr valign=middle><td
width=75> <
/td><td align=center><input maxLength=256 size=55 name=q value="">
<script>
document.f.q.focus();
</script>
Hij stopt dus na de script closing tag :(
dit is nu mijn loop:
String fromServer = input.readLine();
while ((fromServer=input.readLine() ) != null){
System.out.print(fromServer+"\r\n");
outputfile.print(fromServer+"\r\n");
/* Lees een volgende lijn in van het antwoord */
}
Technical Details
Message-ID:
<eKXGb.97392$pg7.4421742@phobos.telenet-ops.be>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!skynet.be!skynet.be!ossa.telenet-ops.be!phobos.telenet-ops.be.POSTED!not-for-mailReferences:
<pmKGb.96553$GJ5.4233348@phobos.telenet-ops.be> <3febe4f6$0$6930$ba620e4c@news.skynet.be> <gXWGb.97325$8e7.4369471@phobos.telenet-ops.be> <3fec418b$0$20078$ba620e4c@news.skynet.be>Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: fcea4,1a74d76b4dc52a6c X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2003-12-26 06:39:07 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!skynet.be!skynet.be!ossa.telenet-ops.be!phobos.telenet-ops.be.POSTED!not-for-mail From: "TRAX" <Stijn.Verspeet@pandora[delete.this].be> Newsgroups: be.comp.programming References: <pmKGb.96553$GJ5.4233348@phobos.telenet-ops.be> <3febe4f6$0$6930$ba620e4c@news.skynet.be> <gXWGb.97325$8e7.4369471@phobos.telenet-ops.be> <3fec418b$0$20078$ba620e4c@news.skynet.be> Subject: Re: [java] lezen van http server Lines: 68 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <eKXGb.97392$pg7.4421742@phobos.telenet-ops.be> Date: Fri, 26 Dec 2003 14:39:06 GMT NNTP-Posting-Host: 213.119.52.147 X-Complaints-To: abuse@telenet.be X-Trace: phobos.telenet-ops.be 1072449546 213.119.52.147 (Fri, 26 Dec 2003 15:39:06 MET) NNTP-Posting-Date: Fri, 26 Dec 2003 15:39:06 MET Organization: Telenet Internet