Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NetworkedGraphicsMV3500
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Savage
NetworkedGraphicsMV3500
Commits
954ef386
Commit
954ef386
authored
4 years ago
by
Terry D. Norbraten
Browse files
Options
Downloads
Patches
Plain Diff
use sys err for errors
parent
ecdcae83
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/src/HttpServletExamples/HttpWebPageSource.java
+5
-5
5 additions, 5 deletions
examples/src/HttpServletExamples/HttpWebPageSource.java
with
5 additions
and
5 deletions
examples/src/HttpServletExamples/HttpWebPageSource.java
+
5
−
5
View file @
954ef386
...
@@ -52,9 +52,9 @@ public class HttpWebPageSource {
...
@@ -52,9 +52,9 @@ public class HttpWebPageSource {
// But a web server will write an unknown number of lines.
// But a web server will write an unknown number of lines.
// So now we read until the transmisson ends.
// So now we read until the transmisson ends.
InputStream
is
=
socket
.
getInputStream
();
InputStream
is
=
socket
.
getInputStream
();
InputStreamReader
isr
=
new
InputStreamReader
(
is
);
Reader
isr
=
new
InputStreamReader
(
is
);
BufferedReader
br
=
new
BufferedReader
(
isr
);
BufferedReader
br
=
new
BufferedReader
(
isr
);
String
line
;
String
line
;
int
count
=
0
;
int
count
=
0
;
...
@@ -68,8 +68,8 @@ public class HttpWebPageSource {
...
@@ -68,8 +68,8 @@ public class HttpWebPageSource {
}
}
catch
(
IOException
e
)
catch
(
IOException
e
)
{
{
System
.
out
.
println
(
"HttpWebPageSource: problem with client"
);
System
.
err
.
println
(
"HttpWebPageSource: problem with client"
);
System
.
out
.
println
(
e
);
System
.
err
.
println
(
e
);
}
}
}
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment